Skip to content

Commit

Permalink
Use single test job for branch protections
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle authored and eddyb committed Feb 5, 2024
1 parent 1a9c8b8 commit 3bd121e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
name: CI

jobs:
check:
test:
name: Test
strategy:
matrix:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3bd121e

Please sign in to comment.