From 3bd121ef25f1b27c15669ff103647547aa2f70e4 Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Mon, 5 Feb 2024 18:34:09 +0100 Subject: [PATCH] Use single test job for branch protections --- .github/workflows/ci.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3ac114c633..f354ade507 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,7 +7,7 @@ on: name: CI jobs: - check: + test: name: Test strategy: matrix: @@ -127,6 +127,14 @@ jobs: cargo apk build -p example-runner-wgpu --lib --features use-installed-tools --no-default-features echo "::endgroup::" + # This just allows us to branch protect on this one job rather needing to change + # it if the test matrix changes + test_success: + runs-on: ubuntu-22.04 + needs: test + steps: + - run: echo "All test jobs passed" + lint: name: Lint runs-on: ubuntu-20.04-16core