Skip to content

Commit 12f7e77

Browse files
authored
FIX use neurodebian to install git-annex in tests (#14)
FIX use neurodebian to install git-annex in tests
1 parent 51b8cb6 commit 12f7e77

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/run_tests.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: [3.7, 3.8, 3.9]
14+
python-version: [3.7, 3.8, 3.9, "3.10"]
1515
max-parallel: 5
1616

1717
steps:
@@ -40,7 +40,10 @@ jobs:
4040
# install himalaya from source to get early testing
4141
pip install git+https://github.com/gallantlab/himalaya.git
4242
pip install -e ."[github]"
43-
$CONDA/bin/conda install -c conda-forge git-annex=*=alldep*
43+
# use neurodebian installer for travis
44+
bash <(wget -q -O- http://neuro.debian.net/_files/neurodebian-travis.sh)
45+
sudo apt-get update -qq
46+
sudo apt-get install git-annex-standalone
4447
4548
- name: Lint with flake8
4649
run: |
@@ -52,10 +55,6 @@ jobs:
5255
5356
- name: Config git-annex
5457
run: |
55-
# note: change of path not in effect before next action
56-
echo "${CONDA}/bin" >> $GITHUB_PATH
57-
# add back python to avoid using conda's
58-
echo $(dirname $(which python)) >> $GITHUB_PATH
5958
# add some git config for git-annex
6059
git config --global user.email "github-actions@example.com"
6160
git config --global user.name "Github Actions"

0 commit comments

Comments
 (0)