Skip to content

Commit

Permalink
fix: select python without fiddling
Browse files Browse the repository at this point in the history
Co-authored-by: Mathias Goncalves <mathiasg@stanford.edu>
  • Loading branch information
oesteban and mgxd committed May 17, 2024
1 parent 4f59910 commit 315aab9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
- run:
name: Install test data from GIN
command: |
export PATH=/opt/circleci/.pyenv/versions/3.12.2/bin/:/opt/circleci/git-annex.linux:$PATH
export PATH=/opt/circleci/git-annex.linux:$PATH
pyenv local 3
eval "$(pyenv init --path)"
mkdir -p /tmp/data
cd /tmp/data
datalad install -r https://gin.g-node.org/oesteban/nitransforms-tests
Expand Down Expand Up @@ -129,7 +131,7 @@ jobs:
echo "cHJpbnRmICJrcnp5c3p0b2YuZ29yZ29sZXdza2lAZ21haWwuY29tXG41MTcyXG4gKkN2dW12RVYzelRmZ1xuRlM1Si8yYzFhZ2c0RVxuIiA+IGxpY2Vuc2UudHh0Cg==" | base64 -d | sh
- run:
name: Get codecov
command: python -m pip install codecov
command: python3 -m pip install codecov
- run:
name: Run unit tests
no_output_timeout: 2h
Expand All @@ -147,7 +149,7 @@ jobs:
name: Submit unit test coverage
command: |
cd /tmp/src/nitransforms
python -m codecov --file /tmp/tests/summaries/unittests.xml \
python3 -m codecov --file /tmp/tests/summaries/unittests.xml \
--flags unittests -e CIRCLE_JOB
- run:
name: Clean up tests directory
Expand Down Expand Up @@ -176,7 +178,7 @@ jobs:
source /tmp/buildenv/bin/activate
python3 -m pip install "setuptools >= 45.0" wheel "setuptools_scm[toml] >= 6.2" \
"pip>=10.0.1" twine docutils
python setup.py sdist bdist_wheel
python3 -m build
twine check dist/nitransforms*
- store_artifacts:
path: /tmp/src/nitransforms/dist
Expand Down

0 comments on commit 315aab9

Please sign in to comment.