Skip to content

Commit

Permalink
Merge pull request #2077 from tweag/cg/use_join_jobs
Browse files Browse the repository at this point in the history
chore: join all CI jobs
  • Loading branch information
mergify[bot] authored Dec 11, 2023
2 parents 7c484ed + 1efc991 commit 652db49
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ jobs:
test-nixpkgs:
name: Build & Test - Nixpkgs
needs:
- lint
strategy:
fail-fast: false
matrix:
Expand All @@ -53,6 +51,7 @@ jobs:
- 9.6.2
exclude:
- module: rules_haskell_nix

bzlmod: false
# TODO: in a MODULE.bazel file we declare version specific dependencies, would need to use stack snapshot json
# and stack config per GHC version
Expand Down Expand Up @@ -133,8 +132,6 @@ jobs:
test-bindist:
name: Build & Test - bindist
needs:
- lint
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -257,3 +254,15 @@ jobs:
with:
name: Logs ${{ matrix.os }} ${{ matrix.module }} ${{ matrix.bzlmod }}
path: logs

all_ci_tests:
runs-on: ubuntu-latest
needs:
- lint
- test-nixpkgs
- test-bindist
if: ${{ always() }}
steps:
- uses: cgrindel/gha_join_jobs@794a2d117251f22607f1aab937d3fd3eaaf9a2f5 # v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 652db49

Please sign in to comment.