Skip to content

Commit

Permalink
ensure early patch-loading on datalad-next tests
Browse files Browse the repository at this point in the history
This commit sets `DATALAD_EXTENSIONS_LOAD=next`
when testing the datalad-next extension. This is
necessary to ensure that patches are loaded
before the objects that they patch are used.
  • Loading branch information
christian-monch committed May 27, 2024
1 parent 06d64fb commit 7e5a70e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test_extensions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ jobs:
datalad-container)
DL_NEED_SINGULARITY=1;;
esac
case ${{ matrix.extension }} in
datalad-next)
DATALAD_EXTENSIONS_LOAD=next;;
esac
{
echo "DL_PIP_INSTALLS=$DL_PIP_INSTALLS"
echo "DL_APT_INSTALLS=$DL_APT_INSTALLS"
Expand All @@ -73,7 +77,7 @@ jobs:
echo "DL_NEED_SINGULARITY=$DL_NEED_SINGULARITY"
echo "DL_PACKAGE=$(echo ${{ matrix.extension }} | tr '-' '_')"
} >> "$GITHUB_ENV"
- name: Clone and install ${{ matrix.extension }} extension
run: |
git clone https://github.com/$DL_REPO __extension__
Expand Down

0 comments on commit 7e5a70e

Please sign in to comment.