Skip to content

Commit

Permalink
🧪 Use type-dependent timeout @ wheel build jobs
Browse files Browse the repository at this point in the history
Previously, the jsonschema for non-raw number values was incomplete
but has been fixed in check-jsonschema v0.27.2.

Refs:

  * python-jsonschema/check-jsonschema#354
  * python-jsonschema/check-jsonschema#356
  • Loading branch information
webknjaz committed Dec 15, 2023
1 parent 682a328 commit 9467635
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/reusable-build-wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ jobs:
build-wheel:
name: Build wheels on ${{ inputs.os }} ${{ inputs.qemu }}
runs-on: ${{ inputs.os }}-latest
# Ref: https://github.com/python-jsonschema/check-jsonschema/issues/354
timeout-minutes: 60 # FIXME: ${{ inputs.qemu && '60' || '20' }}
timeout-minutes: ${{ inputs.qemu && 60 || 20 }}
steps:
- name: Retrieve the project source from an sdist inside the GHA artifact
uses: re-actors/checkout-python-sdist@release/v1
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ repos:
language_version: python3 # Should be a command that runs python3.7+

- repo: https://github.com/python-jsonschema/check-jsonschema.git
rev: 0.27.1
rev: 0.27.3
hooks:
- id: check-github-workflows
files: ^\.github/workflows/[^/]+$
Expand Down

0 comments on commit 9467635

Please sign in to comment.