Skip to content

Commit

Permalink
simplify "required" jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
lalten committed Jan 25, 2025
1 parent 13b8dd2 commit b1c1e1c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
- if: matrix.external_dependency_system == 'workspace' || matrix.os == 'macos'
run: echo "tests/rules_pycross" >> .bazelignore
- run: bazel test //...

examples:
runs-on: ubuntu-latest
env:
Expand All @@ -66,14 +67,22 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: examples/integration_test.sh

determinism:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: tests/determinism/reproducible_shas.sh

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: pre-commit/[email protected]

required:
runs-on: ubuntu-latest
needs: [test, examples, determinism, lint] # this automatically depends on all matrix jobs
steps:
- run: echo "All dependent jobs are required to pass"

0 comments on commit b1c1e1c

Please sign in to comment.