File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test Httomo Backends
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:11.6.2-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-file : conda/environment.yml
31+ environment-name : httomo_backends
32+ post-cleanup : ' all'
33+ init-shell : bash
34+
35+ - name : Install httomo-backends
36+ run : |
37+ micromamba activate httomo_backends
38+ pip install httomolibgpu httomo-backends
39+ pip install .
40+ micromamba list
41+
42+ - name : Run tests
43+ run : |
44+ pytest tests/
You can’t perform that action at this time.
0 commit comments