Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sitic committed Mar 1, 2025
1 parent 7970c06 commit d1ad66a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ jobs:
- name: Install ffmpeg
uses: FedericoCarboni/setup-ffmpeg@v3

- name: Install opencv
run: python -m pip install opencv-python-headless ipywidgets
- name: Install ipywidgets
run: python -m pip install ipywidgets

- name: Checkout code
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
uses: pypa/cibuildwheel@v2.22.0
env:
CIBW_BUILD: "cp38-manylinux_x86_64 cp310-macosx* cp311-win_amd64 cp313-manylinux_x86_64" # Speed up CI by only building a subset of wheels
CIBW_BUILD_FRONTEND: "build[uv]"

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:

- name: Build wheels
uses: pypa/cibuildwheel@v2.22.0
env:
CIBW_BUILD_FRONTEND: "build[uv]"

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fallback_version = "0.1.0"
[tool.cibuildwheel]
archs = ["auto64"] # 64-bit only
skip = "pp* *musllinux*" # disable PyPy, musl-based wheels
test-requires = ["pytest", "opencv-python-headless"]
test-requires = ["pytest"]
test-command = "pytest {project}/tests"
manylinux-x86_64-image = "quay.io/pypa/manylinux_2_28_x86_64" # TODO: temporary, remove after upgrade of cibuildwheel

Expand Down

0 comments on commit d1ad66a

Please sign in to comment.