-
Notifications
You must be signed in to change notification settings - Fork 3
45 lines (38 loc) · 1.01 KB
/
run_tests_iris.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: HTTomo 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-file: conda/environment.yml
environment-name: httomo
post-cleanup: 'all'
init-shell: bash
- name: Install httomo libraries and httomo
run: |
micromamba activate httomo
pip install --upgrade --force-reinstall pillow
pip install httomolibgpu tomobar httomo-backends
pip install .
micromamba list
- name: Run HTTomo tests
run: |
pytest tests/