CI: Add TEST_DATA_HOME to match cache directory
@@ -183,6 +183,8 @@ jobs:
test "${INSTALLED_VERSION}" = "${THISVERSION}"
- name: Install test dependencies
run: python -m pip install "niworkflows[tests]"
+ - name: Set TEST_DATA_HOME
+ run: echo "TEST_DATA_HOME=$HOME/.cache/stanford-crn" >> $GITHUB_ENV
- name: Run tests
run: pytest -sv --doctest-modules -n auto --cov niworkflows niworkflows
- uses: codecov/codecov-action@v3
@@ -243,6 +245,8 @@ jobs:
test "${INSTALLED_VERSION}" = "${THISVERSION}"
- name: Install test dependencies
run: python -m pip install $PIP_FLAGS "niworkflows[tests]"
+ - name: Set TEST_DATA_HOME
+ run: echo "TEST_DATA_HOME=$HOME/.cache/stanford-crn" >> $GITHUB_ENV
- name: Run tests
run: pytest -sv --doctest-modules -n auto --cov niworkflows niworkflows
- uses: codecov/codecov-action@v3
