Skip to content

Commit

Permalink
CI: Install git-annex and uv, run datalad via uvx
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Oct 5, 2024
1 parent dcff97d commit d60c287
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
- TEMPLATEFLOW_HOME: /tmp/templateflow
steps:
- checkout
- run:
name: Install uv
command: pip install uv

- run:
name: Install package
command: pip install .[test]
Expand All @@ -33,10 +37,10 @@ jobs:
- /var/lib/apt

- run:
name: Install texlive
name: Install texlive and git-annex
command: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends dvipng texlive texlive-latex-extra cm-super
sudo apt-get install -y --no-install-recommends dvipng texlive texlive-latex-extra cm-super git-annex
- save_cache:
key: apt-v0
Expand Down Expand Up @@ -77,10 +81,10 @@ jobs:
mkdir -p /tmp/data
pushd /tmp/data
if [[ ! -d ds000003 ]]; then
datalad install -r https://github.com/nipreps-data/ds000003.git
uvx --with=datalad-osf datalad install -r https://github.com/nipreps-data/ds000003.git
fi
datalad update -r --merge -d ds000003/
datalad get -J 2 -r -d ds000003/ ds000003/*
uvx --with=datalad-osf datalad update -r --merge -d ds000003/
uvx --with=datalad-osf datalad get -J 2 -r -d ds000003/ ds000003/*
popd
- save_cache:
Expand Down

0 comments on commit d60c287

Please sign in to comment.