Skip to content

Commit

Permalink
circle: enable storing test results
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanpm committed Feb 23, 2019
1 parent a463acb commit e956832
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ jobs:
command: |
~/.local/bin/tox -e << parameters.toxenv >>
- store_test_results:
path: test-results

- save_cache:
key: v1-cache-pip-{{ checksum "requirements.txt" }}-{{ checksum "test-requirements.txt" }}
paths:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ nosetests.xml
coverage.xml
*.cover
.hypothesis/
test-results/

# Translations
*.mo
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ envlist = py26,py27,py36,static,docs

[testenv]
deps=-rtest-requirements.txt
commands=pytest -v {posargs}
commands=pytest -v --junit-xml=test-results/junit.xml {posargs}
whitelist_externals=sh

[testenv:py26]
Expand Down

0 comments on commit e956832

Please sign in to comment.