Skip to content

Commit

Permalink
Merge pull request #148 from poldracklab/fix/codecov-circleci
Browse files Browse the repository at this point in the history
MAINT: Fix path to test summaries in CircleCI
  • Loading branch information
oesteban authored Feb 16, 2022
2 parents 37f045e + 677be42 commit 415170e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ jobs:
name: Run unit tests
no_output_timeout: 2h
command: |
mkdir -p $PWD/{artifacts,summaries}
mkdir -p /tmp/tests/{artifacts,summaries}
docker run -u $( id -u ) -it --rm -w /src/nitransforms \
-v /tmp/data/nitransforms-tests:/data -e TEST_DATA_HOME=/data \
-e COVERAGE_FILE=/tmp/summaries/.pytest.coverage \
-v /tmp/fslicense/license.txt:/opt/freesurfer/license.txt:ro \
-v ${PWD}:/tmp nitransforms:latest \
-v /tmp/tests:/tmp nitransforms:latest \
pytest --junit-xml=/tmp/summaries/pytest.xml \
--cov nitransforms --cov-report xml:/tmp/summaries/unittests.xml \
nitransforms/
Expand Down

0 comments on commit 415170e

Please sign in to comment.