Skip to content

Commit dfcc523

Browse files
committed
cibuild integration
1 parent 17bf8e6 commit dfcc523

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ jobs:
8585
CIBW_BUILD: "cp39* cp310* cp311* cp312*"
8686
CIBW_SKIP: "pp* *-musllinux_* *-win32 *-manylinux_i686 *-musllinux_i686 *-aarch64 *-armv7l"
8787
CIBW_BEFORE_ALL: ${{ matrix.before_all }}
88+
CIBW_TEST_REQUIRES: pytest
89+
CIBW_TEST_COMMAND: "cd {project}/packages/basemap && pytest"
8890
CIBW_ENVIRONMENT: >-
8991
GEOS_VERSION="3.6.5"
9092
GEOS_DIR="$(pwd)/extern"
@@ -96,12 +98,6 @@ jobs:
9698
package-dir: "packages/basemap"
9799
output-dir: "packages/basemap/dist"
98100

99-
- name: Run unittests
100-
run: |
101-
python -m pip install -e "packages/basemap[test]"
102-
cd packages/basemap
103-
python -m pytest
104-
105101
- uses: actions/upload-artifact@v4
106102
with:
107103
path: |

0 commit comments

Comments
 (0)