Skip to content

Commit a2c6f42

Browse files
committed
ci: python also test
1 parent 532cba2 commit a2c6f42

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/python.yml

+15
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ jobs:
3535
args: --release --out dist
3636
sccache: 'true'
3737
manylinux: auto
38+
- name: Install and test
39+
run: |
40+
pip install roaring-landmask --no-index --find-links dist --force-reinstall
41+
pip install pytest pytest-benchmark numpy shapely
42+
cd tests && pytest
3843
- name: Upload wheels
3944
uses: actions/upload-artifact@v3
4045
with:
@@ -58,6 +63,11 @@ jobs:
5863
target: ${{ matrix.target }}
5964
args: --release --out dist
6065
sccache: 'true'
66+
- name: Install and test
67+
run: |
68+
pip install roaring-landmask --no-index --find-links dist --force-reinstall
69+
pip install pytest pytest-benchmark numpy shapely
70+
cd tests && pytest
6171
- name: Upload wheels
6272
uses: actions/upload-artifact@v3
6373
with:
@@ -80,6 +90,11 @@ jobs:
8090
target: ${{ matrix.target }}
8191
args: --release --out dist
8292
sccache: 'true'
93+
- name: Install and test
94+
run: |
95+
pip install roaring-landmask --no-index --find-links dist --force-reinstall
96+
pip install pytest pytest-benchmark numpy shapely
97+
cd tests && pytest
8398
- name: Upload wheels
8499
uses: actions/upload-artifact@v3
85100
with:

0 commit comments

Comments
 (0)