iris test to pass5 #7
Workflow file for this run
This file contains 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 dev build | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
branches: | |
- dev | |
jobs: | |
install-test-iris-gpu: | |
runs-on: iris-gpu | |
container: | |
image: nvidia/cuda:11.6.2-devel-ubi8 | |
env: | |
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }} | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- name: Checkout repository code | |
uses: actions/checkout@v3 | |
- name: Create conda environment | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: conda/environment.yml | |
environment-name: httomo | |
post-cleanup: 'all' | |
init-shell: bash | |
- name: Install httomo-dev from conda-cloud | |
run: | | |
micromamba activate httomo | |
micromamba install "httomo/label/dev/linux-64::httomo * py310_openmpi_regular*" -c httomo -c conda-forge -c astra-toolbox -c rapidsai | |
micromamba list | |
- name: Run tests | |
run: | | |
pytest tests/ | |