tests: make macOS tests require a passing syntax job.
The syntax job is quick (takes 1m) and this avoids running the long macOS job (for which we have a limited number of workers) unless it has passed.
This commit is contained in:
parent
f6bc3efac6
commit
b9b1cd8b2b
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
@ -180,6 +180,7 @@ jobs:
|
|||||||
|
|
||||||
test-everything:
|
test-everything:
|
||||||
name: test everything (macOS)
|
name: test everything (macOS)
|
||||||
|
needs: syntax
|
||||||
if: startsWith(github.repository, 'Homebrew/')
|
if: startsWith(github.repository, 'Homebrew/')
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user