Skip to content

Commit

Permalink
ci: twister status check
Browse files Browse the repository at this point in the history
Generate one single status for all jobs and also report success when
twister run is being skipped to be able to make this a required check.

Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif committed Feb 24, 2024
1 parent a9f77a5 commit 3f98312
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/twister.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -358,3 +358,12 @@ jobs:
check_name: Unit Test Results
files: "**/twister.xml"
comment_mode: off
twister-status-check:
if: always()
name: "Check Twister Status"
needs:
- twister-build-prep
- twister-build
uses: ./.github/workflows/ready-to-merge.yml
with:
needs_context: ${{ toJson(needs) }}

0 comments on commit 3f98312

Please sign in to comment.