File tree Expand file tree Collapse file tree 2 files changed +60
-16
lines changed
Expand file tree Collapse file tree 2 files changed +60
-16
lines changed Original file line number Diff line number Diff line change 1+ name : HTTomo framework tests
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+ push :
8+ branches :
9+ - main
10+
11+ jobs :
12+ tests-cpu :
13+ runs-on : ubuntu-latest
14+
15+ defaults :
16+ run :
17+ shell : bash -l {0}
18+
19+ steps :
20+ - name : Checkout repository code
21+ uses : actions/checkout@v4
22+
23+ - name : Create conda environment
24+ uses : mamba-org/setup-micromamba@v1
25+ with :
26+ environment-file : conda/environment-cpu.yml
27+ environment-name : httomo
28+ post-cleanup : ' all'
29+ init-shell : bash
30+
31+ - name : install httomo and httomo-backends
32+ run : |
33+ micromamba activate httomo
34+ pip install --no-deps httomo-backends
35+ pip install .
36+ micromamba list
37+
38+ - name : Run HTTomo framework tests (CPU)
39+ run : |
40+ pytest tests/
Original file line number Diff line number Diff line change 11name : httomo
22channels :
33 - conda-forge
4- - httomo
54dependencies :
6- - conda-forge::tomopy==1.15
7- - httomo::httomolib==2.1
8- - conda-forge::click>=8.1.3
9- - conda-forge::mpi4py>=3.1
10- - conda-forge::h5py=*=*mpi_openmpi*
11- - conda-forge::pyyaml
12- - conda-forge::numpy<=1.25
13- - conda-forge::python
14- - conda-forge::numexpr>=2.8.4
15- - conda-forge::ipython
16- - conda-forge::loguru
17- - conda-forge::graypy
18- - conda-forge::plumbum
19- - conda-forge::tqdm
20- - conda-forge::typing_extensions
5+ - scipy
6+ - pillow
7+ - click
8+ - numpy
9+ - graypy
10+ - h5py=*=*mpi_openmpi*
11+ - hdf5plugin
12+ - loguru
13+ - mpi4py
14+ - pyyaml
15+ - nvtx
16+ - python
17+ - plumbum
18+ - tqdm
19+ - typing_extensions
20+ - ipython
21+ - pytest
22+ - pytest-xdist
23+ - pytest-cov
24+ - pytest-mock
You can’t perform that action at this time.
0 commit comments