From b9b1cd8b2b11411aacd491605485d9bd61f67f1c Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 21 Jan 2021 16:30:24 +0000 Subject: [PATCH] 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. --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cc6ecc2ae4..b77b043986 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -180,6 +180,7 @@ jobs: test-everything: name: test everything (macOS) + needs: syntax if: startsWith(github.repository, 'Homebrew/') runs-on: macos-latest steps: