File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -136,21 +136,21 @@ jobs:
136
136
name : Run unit tests
137
137
no_output_timeout : 2h
138
138
command : |
139
- mkdir -p /tmp/tests/{artifacts,summaries}
139
+ mkdir -p /tmp/tests/{artifacts,summaries,coverage }
140
140
docker run -u $( id -u ) -it --rm \
141
141
-w /src/nitransforms -v $PWD:/src/nitransforms \
142
142
-v /tmp/data/nitransforms-tests:/data -e TEST_DATA_HOME=/data \
143
- -e COVERAGE_FILE=/tmp/summaries /.pytest.coverage \
143
+ -e COVERAGE_FILE=/tmp/coverage /.pytest.coverage \
144
144
-v /tmp/fslicense/license.txt:/opt/freesurfer/license.txt:ro \
145
145
-v /tmp/tests:/tmp nitransforms:latest \
146
146
pytest --junit-xml=/tmp/summaries/pytest.xml \
147
- --cov nitransforms --cov-report xml:/tmp/summaries /unittests.xml \
147
+ --cov nitransforms --cov-report xml:/tmp/coverage /unittests.xml \
148
148
nitransforms/
149
149
- run :
150
150
name : Submit unit test coverage
151
151
command : |
152
152
cd /tmp/src/nitransforms
153
- python3 -m codecov --file /tmp/tests/summaries /unittests.xml \
153
+ python3 -m codecov --file /tmp/tests/coverage /unittests.xml \
154
154
--flags unittests -e CIRCLE_JOB
155
155
- run :
156
156
name : Clean up tests directory
You can’t perform that action at this time.
0 commit comments