Skip to content

Commit 2997d73

Browse files
committed
another attempt to get datalad to work
1 parent 72188cd commit 2997d73

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.github/workflows/io-test.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,24 @@ jobs:
7676
# restore-key hits should result in `cache-hit` == 'false'
7777
#if: steps.cache-conda-env.outputs.cache-hit != 'true'
7878
run: |
79-
conda install datalad pip numpy=${{ matrix.numpy-version }} -c conda-forge
79+
conda install pip numpy=${{ matrix.numpy-version }} -c conda-forge
8080
# this command is for updating cache. We are resting removal.
8181
# conda env update --name neo-test-env-${{ matrix.python-version }} --file environment_testing.yml --prune
8282

83+
- name: Install git-annex
84+
shell: bash
85+
run: |
86+
pip install datalad-installer
87+
wget https://downloads.kitenet.net/git-annex/linux/current/git-annex-standalone-amd64.tar.gz
88+
mkdir /home/runner/work/installation
89+
mv git-annex-standalone-amd64.tar.gz /home/runner/work/installation/
90+
workdir=$(pwd)
91+
cd /home/runner/work/installation
92+
tar xvzf git-annex-standalone-amd64.tar.gz
93+
echo "$(pwd)/git-annex.linux" >> $GITHUB_PATH
94+
cd $workdir
95+
git config --global filter.annex.process "git-annex filter-process" # recommended for efficiency
96+
8397
- name: Configure git
8498
run: |
8599
git config --global user.email "neo_ci@fake_mail.com"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ test = [
4949
# "dhn_med_py<2.0", # ci failing with 2.0 test future version when stable
5050
"pytest",
5151
"pytest-cov",
52-
# datalad # this dependency is covered by conda (environment_testing.yml)-- maybe moving straight to ci
52+
"datalad"
5353
"scipy>=1.0.0",
5454
"pyedflib",
5555
"h5py",

0 commit comments

Comments
 (0)