Use single test job for branch protections

This commit is contained in:
Jake Shadle 2024-02-05 18:34:09 +01:00 committed by Eduard-Mihai Burtescu
parent 1a9c8b8ba1
commit 3bd121ef25

View File

@ -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