Skip to content

Commit 8e3dc35

Browse files
authored
Save test results to circle-ci (#166)
1 parent 0dd91d8 commit 8e3dc35

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.circleci/config.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,20 @@ defaults: &defaults
1313
- run:
1414
name: Test
1515
command: |
16-
pytest -n 2 --dist loadscope --cov=galgebra --nbval examples/ipython/ test --current-env --sanitize-with test/.nbval_sanitize.cfg
16+
mkdir test-reports
17+
pytest -n 2 --dist loadscope --cov=galgebra --nbval examples/ipython/ test --current-env --sanitize-with test/.nbval_sanitize.cfg --junitxml=test-reports/junit.xml
1718
- run:
1819
name: Coverage
1920
when: on_success
2021
command: |
2122
sudo pip install codecov
2223
codecov
24+
25+
- store_test_results:
26+
path: test-reports
27+
- store_artifacts:
28+
path: test-reports
29+
2330
jobs:
2431
"python-3.7":
2532
<<: *defaults

0 commit comments

Comments
 (0)