From 5bd83eaa8874eeb8b687280b10fe8164b51bf6eb Mon Sep 17 00:00:00 2001 From: Jennings Zhang Date: Wed, 2 Oct 2024 13:10:52 -0400 Subject: [PATCH] Remove build dependency on test --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a913dde..eac03f80 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,7 @@ on: jobs: test: + if: github.ref_type == 'branch' || github.ref_name == 'pull_request' runs-on: ubuntu-24.04 strategy: fail-fast: false @@ -30,7 +31,6 @@ jobs: build: name: Build - needs: [ test ] if: github.event_name == 'push' runs-on: ubuntu-24.04 steps: