diff --git a/.gitignore b/.gitignore index 591e8cee6..1523f7251 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,6 @@ celerybeat-schedule coverage coverage.xml .coverage + +# Ignore tox installation +.tox \ No newline at end of file diff --git a/docs/testing.md b/docs/testing.md index 12c5afbe0..40f7d4bd7 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -60,7 +60,8 @@ The tests will perform an initial run and then re-execute each time a project fi To run all Python tests, including linting, sorting, etc: ```shell -docker-compose run backend sh -c "./runchecks.sh && pytest tests/" +% pip install tox +% tox ``` NOTE: For instructions on how to run tests outside of Docker look at [tests/README.md](https://github.com/mozilla/treeherder/blob/master/tests/README.md).