Skip to content

Commit 415170e

Browse files
authored
Merge pull request #148 from poldracklab/fix/codecov-circleci
MAINT: Fix path to test summaries in CircleCI
2 parents 37f045e + 677be42 commit 415170e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.circleci/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@ jobs:
146146
name: Run unit tests
147147
no_output_timeout: 2h
148148
command: |
149-
mkdir -p $PWD/{artifacts,summaries}
149+
mkdir -p /tmp/tests/{artifacts,summaries}
150150
docker run -u $( id -u ) -it --rm -w /src/nitransforms \
151151
-v /tmp/data/nitransforms-tests:/data -e TEST_DATA_HOME=/data \
152152
-e COVERAGE_FILE=/tmp/summaries/.pytest.coverage \
153153
-v /tmp/fslicense/license.txt:/opt/freesurfer/license.txt:ro \
154-
-v ${PWD}:/tmp nitransforms:latest \
154+
-v /tmp/tests:/tmp nitransforms:latest \
155155
pytest --junit-xml=/tmp/summaries/pytest.xml \
156156
--cov nitransforms --cov-report xml:/tmp/summaries/unittests.xml \
157157
nitransforms/

0 commit comments

Comments
 (0)