File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Main Branch Tests
2+ on :
3+ push :
4+ branches :
5+ - main
6+
7+ jobs :
8+ iris-gpu :
9+ runs-on : iris-gpu
10+ container :
11+ image : nvidia/cuda:12.6.3-devel-ubi8
12+ env :
13+ NVIDIA_VISIBLE_DEVICES : ${{ env.NVIDIA_VISIBLE_DEVICES }}
14+ options : --gpus all --runtime=nvidia
15+
16+ defaults :
17+ run :
18+ shell : bash -l {0}
19+
20+ steps :
21+ - uses : actions/checkout@v4
22+
23+ - name : Set up CUDA environment
24+ run : |
25+ echo "LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH" >> $GITHUB_ENV
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
32+ post-cleanup : ' all'
33+ init-shell : bash
34+
35+ - name : Download test data from Zenodo
36+ run : |
37+ chmod +x ./.scripts/download_zenodo.py
38+ ./.scripts/download_zenodo.py zenodo-tests/large_data_archive
39+
40+ - name : Install httomolibgpu
41+ run : |
42+ pip install .[dev]
43+ micromamba list
44+
45+ - name : Run all tests (including Zenodo)
46+ run : |
47+ pytest tests/ zenodo-tests/
You can’t perform that action at this time.
0 commit comments