summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-11-05 19:48:33 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-11-05 19:48:33 -0400
commit5ade5cdb5fe1b583d874838c6be80b08d30249fc (patch)
tree678e3dd6743607c5e5ce4871b75dcb7eb148d0db
parent9209c555c7612b4a649edca5db97a04177ee5a9a (diff)
downloadpython-coveragepy-git-5ade5cdb5fe1b583d874838c6be80b08d30249fc.tar.gz
build: check CTracer after building wheels
And also use the matrix to build them in parallel
-rw-r--r--.github/workflows/kit.yml17
1 files changed, 14 insertions, 3 deletions
diff --git a/.github/workflows/kit.yml b/.github/workflows/kit.yml
index 99603087..8cb61270 100644
--- a/.github/workflows/kit.yml
+++ b/.github/workflows/kit.yml
@@ -22,10 +22,20 @@ env:
jobs:
wheels:
- name: "Build wheels on ${{ matrix.os }}"
+ name: "Build ${{ matrix.cibw_build }} ${{ matrix.os }} wheels"
runs-on: ${{ matrix.os }}
strategy:
matrix:
+ os:
+ - ubuntu-latest
+ - macos-latest
+ - windows-latest
+ cibw_build:
+ - cp36
+ - cp37
+ - cp38
+ - cp39
+ - cp310
include:
- os: ubuntu-latest
cibw_arch: x86_64 i686 aarch64
@@ -56,9 +66,10 @@ jobs:
- name: "Build wheels"
env:
- # Don't build wheels for PyPy.
- CIBW_SKIP: pp*
+ CIBW_BUILD: ${{ matrix.cibw_build }}-*
CIBW_ARCHS: ${{ matrix.cibw_arch }}
+ CIBW_ENVIRONMENT: PIP_DISABLE_PIP_VERSION_CHECK=1
+ CIBW_TEST_COMMAND: python -c "from coverage.tracer import CTracer; print('CTracer OK!')"
run: |
python -m cibuildwheel --output-dir wheelhouse
ls -al wheelhouse/