Skip to content

Commit 31b5af4

Browse files
committed
CI: fix cuda test regex & docs build without TIGRE
1 parent dfb77a1 commit 31b5af4

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ The [docs](./build.yml#L124) job:
7373
> python -m http.server
7474
> ```
7575
>
76-
> Then open a browser and navigate to <http://localhost:8000/CIL/> to view the documentation.
76+
> Then open a browser and navigate to <http://localhost:8000/CIL/{PR_NUMBER}_merge/> to view the documentation,
77+
> where `{PR_NUMBER}` is the number of the PR that was built (e.g. `1234`).
7778
7879
## [skip.yml](./skip.yml)
7980

.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)