Skip to content

Commit

Permalink
[PLATFORM-1366]: Add alls-green check to veil (#78)
Browse files Browse the repository at this point in the history
* Add alls-green check

* Another alls-green solution

* Remove comment

* Dummy
  • Loading branch information
cottinisimone authored Nov 27, 2023
1 parent 2a6e77c commit 60393cc
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ jobs:
lint:
# Avoid duplicate jobs on PR from a branch on the same repo
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name

name: "Continuous Integration / lint"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -28,8 +26,6 @@ jobs:
test:
# Avoid duplicate jobs on PR from a branch on the same repo
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name

name: "Continuous Integration / test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -38,3 +34,12 @@ jobs:
run: cargo test --all
- name: Run tests with toggle feature
run: cargo test --all --features toggle

alls-green:
if: always() && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name)
runs-on: ubuntu-latest
needs:
- lint
- test
steps:
- run: ${{ !contains(needs.*.result, 'failure') }}

0 comments on commit 60393cc

Please sign in to comment.