File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Make build and tests
2+
3+ on : push
4+
5+ jobs :
6+ build_test :
7+
8+ runs-on : ubuntu-latest
9+
10+ steps :
11+ - uses : actions/checkout@v4
12+ - name : create conda environments
13+ run : |
14+ conda create -y -n build -c conda-forge python=3.11 python-build
15+ conda create -y -n test -c conda-forge python=3.11 numpy matplotlib
16+ - name : install extra dependencies
17+ run : |
18+ sudo apt-get update
19+ sudo apt-get install -y libjpeg-dev liblzma-dev
20+ - name : build
21+ run : |
22+ source /usr/share/miniconda/etc/profile.d/conda.sh
23+ conda activate build
24+ make all
25+ - name : test
26+ run : |
27+ source /usr/share/miniconda/etc/profile.d/conda.sh
28+ conda activate test
29+ make tests 2>&1 | tee test.out
30+ - name : check test output
31+ run : |
32+ ! grep ignored test.out
You can’t perform that action at this time.
0 commit comments