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:
Joe Rickerby
2021-03-26 10:33:55 -04:00
committed by GitHub
parent 5cbe3e2254
commit b142b09e22
+2
View File
@@ -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: