Open arogozhnikov opened 3 months ago
How is this executed? Is this docker? I would say that requiring docker is actually more onerous. Simpler would be a pytest fixture that masks any environment variables that were creating trouble for you.
docker or podman-as-docker if you run it on your machine.
For me that's this button:
For local development, pycharm and vs code support devcontainers now and start/manage container for you.
For me that's this button:
you need devcontainer.json first to make button work correctly.
So you still need docker, and also one of the particular IDEs that supports this mechanism. I am mildly against the idea.
up to you of course.
I'd spend 10 minutes setting this up rather ~3 hours figuring out why tests didn't work on mac or on linux, but worked in CI
Motivation: makes easier to contribute.
Currently to test things locally I need to delete aws config, and manually change requirements for tests, create virtual env and setup pre-commit
I can confirm that after spinning up the container, I can run
pytest s3fs
and it works: