Skip to content

Commit 3bd121e

Browse files
Jake-Shadleeddyb
authored andcommitted
Use single test job for branch protections
1 parent 1a9c8b8 commit 3bd121e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yaml

+9-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
name: CI
88

99
jobs:
10-
check:
10+
test:
1111
name: Test
1212
strategy:
1313
matrix:
@@ -127,6 +127,14 @@ jobs:
127127
cargo apk build -p example-runner-wgpu --lib --features use-installed-tools --no-default-features
128128
echo "::endgroup::"
129129
130+
# This just allows us to branch protect on this one job rather needing to change
131+
# it if the test matrix changes
132+
test_success:
133+
runs-on: ubuntu-22.04
134+
needs: test
135+
steps:
136+
- run: echo "All test jobs passed"
137+
130138
lint:
131139
name: Lint
132140
runs-on: ubuntu-20.04-16core

0 commit comments

Comments
 (0)