Skip to content

Commit 1ab0da7

Browse files
committed
CI: fix cuda test regex & docs build without TIGRE
1 parent 92ca948 commit 1ab0da7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
- uses: actions/checkout@v4
7373
with: {fetch-depth: 0, submodules: recursive}
7474
- name: set requirements
75-
run: sed -ri -e '/ python /d' -e 's/(.* numpy) .*/\1=${{ matrix.numpy-version }}/' -e 's/=cuda*//' -e '/tigre/d' scripts/cil_development.yml
75+
run: sed -ri -e '/ python /d' -e 's/(.* numpy) .*/\1=${{ matrix.numpy-version }}/' -e 's/cuda*//' -e '/tigre/d' scripts/cil_development.yml
7676
- uses: conda-incubator/setup-miniconda@v3
7777
with:
7878
python-version: ${{ matrix.python-version }}
@@ -224,6 +224,7 @@ jobs:
224224
- name: install dependencies
225225
run: |
226226
mamba install -c conda-forge -yq conda-merge
227+
sed -ri -e 's/cuda*//' -e '/tigre/d' ../scripts/cil_development.yml
227228
conda-merge ../scripts/cil_development.yml docs_environment.yml > environment.yml
228229
mamba env update -n test --file environment.yml
229230
conda list

0 commit comments

Comments
 (0)