insitro / redun

Yet another redundant workflow engine
https://insitro.github.io/redun/
Apache License 2.0
510 stars 43 forks source link

One-liner to run pytest and lint under Docker #85

Open gabriel-v opened 12 months ago

gabriel-v commented 12 months ago

Setting up an environment for the first time (following https://insitro.github.io/redun/developing.html) directly on the host has quite a few setbacks:

I see you already use docker-compose for the database, both in tests and examples. Why not use a docker/compose container to run the tests & examples too? The packaged dockerfile could serve as example for anyone trying to adapt it to their own hosts / containers.

So a new developer could just run ./pytest.sh -k filter --pdb and test what they are trying to patch in 5min, with 100% parity on the CI

I have a PR with some example scripts to start a discusison