Skip to content

Commit

Permalink
ci: Add ci_pass job (#454)
Browse files Browse the repository at this point in the history
* ci: Add `ci_pass` job

* ci: Rename develop to main
ThetaSinner authored Jan 31, 2025
1 parent 58ce5a9 commit a50b37a
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -4,9 +4,9 @@ on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches: [develop, develop-0.1, develop-0.2]
branches: [main, main-0.1, main-0.2, main-0.3, main-0.4]
pull_request:
branches: [develop, develop-0.1, develop-0.2]
branches: [main, main-0.1, main-0.2, main-0.3, main-0.4]

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
@@ -146,3 +146,19 @@ jobs:
run: |
cd $GITHUB_WORKSPACE
nix develop --accept-flake-config .#ci --command ./run_test.sh -s ${{ matrix.scope }}
ci_pass:
if: ${{ always() }}
runs-on: "ubuntu-latest"
needs:
- cargo_test
- rustfmt
- clippy
- nix_build
- testbuild
- testbuild_by_scope
steps:
- name: check status
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}

0 comments on commit a50b37a

Please sign in to comment.