Add simple JSON pipeline loader that handles range and manual parameter sweeps #175
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: HTTomo pipelines tests | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
iris-gpu: | |
runs-on: iris-gpu | |
container: | |
image: nvidia/cuda:12.6.3-devel-ubi8 | |
env: | |
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }} | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout repository code | |
uses: actions/checkout@v4 | |
- name: Create conda environment | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-name: httomo | |
create-args: >- | |
cupy==12.3.0 | |
h5py=*=*mpi_openmpi* | |
mpi4py | |
tomopy==1.15 | |
post-cleanup: 'all' | |
init-shell: bash | |
- name: Install httomo libraries, httomo-backends and httomo | |
run: | | |
micromamba activate httomo | |
pip install .[dev-gpu] | |
micromamba list | |
- name: Generate full yaml pipelines using pipeline directives | |
run: | | |
pip install "ruamel.yaml>0.18.0" | |
python ./docs/source/scripts/execute_pipelines_build.py -o ./docs/source/pipelines_full/ | |
- name: Run HTTomo pipelines tests (small data) | |
run: | | |
pytest tests/test_pipeline_small.py --small_data |