Skip to content

Commit f13467a

Browse files
committed
Update cibuildwheel version and run tests on built wheel.
1 parent 57a7e85 commit f13467a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build_wheels.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- master
6+
- update-cicd
67
pull_request:
78
branches:
89
- master
@@ -19,9 +20,12 @@ jobs:
1920
steps:
2021
- uses: actions/checkout@v4
2122
- name: Build wheels
22-
uses: pypa/cibuildwheel@v2.23.3
23+
uses: pypa/cibuildwheel@v3.0.0
2324
env:
24-
CIBW_SKIP: cp36-* cp37-* cp38-* cp313-* pp* *-musllinux* *-manylinux_i686
25+
CIBW_TEST_SOURCES: tests
26+
CIBW_TEST_COMMAND: "pytest tests"
27+
CIBW_TEST_REQUIRES: pytest pytest-cov pytest-mock codecov
28+
CIBW_SKIP: cp38-* cp313-* pp* *-musllinux* *-manylinux_i686
2529

2630
- uses: actions/upload-artifact@v4
2731
with:

0 commit comments

Comments
 (0)