зеркало из https://github.com/mozilla/treeherder.git
Document Tox as a requirement for running tests (#6338)
This commit is contained in:
Родитель
dd4d42c5fd
Коммит
1892968e10
|
@ -29,3 +29,6 @@ celerybeat-schedule
|
|||
coverage
|
||||
coverage.xml
|
||||
.coverage
|
||||
|
||||
# Ignore tox installation
|
||||
.tox
|
|
@ -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).
|
||||
|
|
Загрузка…
Ссылка в новой задаче