Skip to content

Commit fd2a2d9

Browse files
committed
fix coverage results for parallel testing
1 parent 8d96fa2 commit fd2a2d9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
pip install -r requirements-codecoverage.txt
133133
pip install .
134134
mkdir test-results
135-
coverage run -m pytest -vvv --nbmake --nbmake-timeout=300 -n=auto --junitxml=test-results/junit.xml tests
135+
pytest -vvv --nbmake --nbmake-timeout=300 -n=auto --cov=smsdk --cov-config=.coveragerc --cov-report= --junitxml=test-results/junit.xml tests
136136
137137
# Store the test results on each node so we can see failures
138138
- store_test_results:

requirements-codecoverage.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
codecov==2.1.13
44
coverage==7.3.2
55
nbmake==1.4.6
6+
pytest-cov==4.1.0
67
pytest-xdist==3.5.0

0 commit comments

Comments
 (0)