Skip to content

Commit

Permalink
Merge pull request #140 from kids-first/add-pytest-ini
Browse files Browse the repository at this point in the history
♻️ App pytest.ini for quick access pytest
  • Loading branch information
XuTheBunny authored Mar 11, 2019
2 parents 894a30e + 9add1e6 commit 258e729
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
name: run tests
command: |
. venv/bin/activate
pytest --ds=settings.test --cov=coordinator --pep8
pytest --cov=coordinator
coverage xml
python-codacy-coverage -r coverage.xml
environment:
Expand Down
6 changes: 6 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[pytest]
DJANGO_SETTINGS_MODULE = settings.test
addopts = --pep8
pep8ignore =
settings/*.py ALL
*/migrations/*.py ALL

0 comments on commit 258e729

Please sign in to comment.