diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 702c8384..6a3cf317 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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) }} \ No newline at end of file