Skip to content

Commit 11d9057

Browse files
committed
Merge branch 'main' into fix_ply
2 parents d615852 + 6149eda commit 11d9057

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/make_tests.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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

0 commit comments

Comments
 (0)