Skip to content

Commit

Permalink
ci: faster cibuildwheel (#942)
Browse files Browse the repository at this point in the history
* ci: faster cibuildwheel

Signed-off-by: Henry Schreiner <[email protected]>

* Apply suggestions from code review

* Update wheels.yml

* Update .pre-commit-config.yaml

---------

Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii authored Jun 11, 2024
1 parent b08d567 commit f57cc38
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ jobs:
submodules: true
fetch-depth: 0

- uses: pypa/[email protected]
- uses: yezz123/setup-uv@v4

- uses: pypa/[email protected]
env:
CIBW_BUILD: "${{ matrix.build }}"
CIBW_BUILD_VERBOSITY: 1
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
with:
platforms: all

- uses: pypa/cibuildwheel@v2.18
- uses: pypa/cibuildwheel@v2.19
env:
CIBW_BUILD: cp${{ matrix.python }}-manylinux_*
CIBW_ARCHS: ${{ matrix.arch }}
Expand Down Expand Up @@ -113,7 +113,9 @@ jobs:
fetch-depth: 0
submodules: true

- uses: pypa/[email protected]
- uses: yezz123/setup-uv@v4

- uses: pypa/[email protected]
env:
CIBW_BUILD: ${{ matrix.build }}
CIBW_ARCHS: ${{ matrix.arch }}
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ repos:
- id: check-github-workflows

- repo: https://github.com/henryiii/validate-pyproject-schema-store
rev: 2024.06.03
rev: 2024.06.10
hooks:
- id: validate-pyproject
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ ignore_missing_imports = true


[tool.cibuildwheel]
build-frontend = "build[uv]"
test-extras = "test"
test-command = "pytest --benchmark-disable {project}/tests"
test-skip = [
Expand Down

0 comments on commit f57cc38

Please sign in to comment.