Save test results on CircleCI

The JUNIT_XML setting was erroneously brought over from another repo;
here we can just tell tox to put the results in a subdir and save
that.
This commit is contained in:
Bryan Boreham 2019-04-15 15:40:49 +00:00
parent ae18dbc61b
commit 8dab6f6d61
3 changed files with 3 additions and 4 deletions

View File

@ -24,8 +24,7 @@ jobs:
- run:
name: make all
command: |
mkdir -p test-results/tests
make JUNIT_XML=test-results/tests/junit.xml all
make all
- store_test_results:
path: test-results
- store_artifacts:

2
.gitignore vendored
View File

@ -5,7 +5,7 @@ build/
dist/
.uptodate
/.env
/junit-*.xml
test-results/junit-*.xml
/.cache
.ensure-*
/.tox

View File

@ -7,7 +7,7 @@
envlist = py27, py34, py35, py36
[testenv]
commands = pytest --junitxml=junit-{envname}.xml
commands = pytest --junitxml=test-results/junit-{envname}.xml
deps =
pytest