ci: make GHA pre-commit check a precursor to main test (#624)
* Remove GHA pre-commit check This check was the same as the check performed by pre-commit.ci, except that the pre-commit.ci is a bit faster and can fix some issues itself, so I'm removing the GHA one in favour of the pre-commit one. * Add back precommit check and use it as a precursor This will prevent us wasting CI time on builds that failed precommit
This commit is contained in:
@@ -21,6 +21,7 @@ jobs:
|
||||
|
||||
test:
|
||||
name: Test cibuildwheel on ${{ matrix.os }}
|
||||
needs: pre-commit
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -70,6 +71,7 @@ jobs:
|
||||
|
||||
test-emulated:
|
||||
name: Test emulated cibuildwheel using qemu
|
||||
needs: pre-commit
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 180
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user