Skip to content

Commit f285a3b

Browse files
committed
Add sequential-running test suites CI workflow on IRIS
1 parent d2509f8 commit f285a3b

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

‎.github/workflows/iris.yml‎

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Tests on IRIS
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
11+
jobs:
12+
iris-gpu:
13+
runs-on: iris-gpu
14+
container:
15+
image: nvidia/cuda:12.6.3-devel-ubi8
16+
env:
17+
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }}
18+
19+
defaults:
20+
run:
21+
shell: bash -l {0}
22+
23+
steps:
24+
- name: Checkout repository code
25+
uses: actions/checkout@v4
26+
27+
- name: Create conda environment
28+
uses: mamba-org/setup-micromamba@v1
29+
with:
30+
environment-name: httomo
31+
create-args: >-
32+
cupy==12.3.0
33+
h5py=*=*mpi_openmpi*
34+
mpi4py
35+
tomopy==1.15
36+
post-cleanup: 'all'
37+
init-shell: bash
38+
39+
- name: Install httomo libraries and httomo
40+
run: |
41+
micromamba activate httomo
42+
pip install .[dev-gpu]
43+
micromamba list
44+
45+
- name: Generate full yaml pipelines using pipeline directives
46+
run: |
47+
pip install "ruamel.yaml>0.18.0"
48+
python ./docs/source/scripts/execute_pipelines_build.py -o ./docs/source/pipelines_full/
49+
50+
- name: Run HTTomo framework tests
51+
run: |
52+
pytest tests/
53+
54+
- name: Run HTTomo pipelines tests (small data)
55+
run: |
56+
pytest tests/test_pipeline_small.py --small_data

0 commit comments

Comments
 (0)