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:
Mike McQuaid 2021-01-21 16:30:24 +00:00
parent f6bc3efac6
commit b9b1cd8b2b
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -180,6 +180,7 @@ jobs:
test-everything:
name: test everything (macOS)
needs: syntax
if: startsWith(github.repository, 'Homebrew/')
runs-on: macos-latest
steps: