Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Add ci_pass job #454

Merged
merged 2 commits into from
Jan 31, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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) }}
Loading