ci: twister status check

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 <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2024-02-19 15:53:56 -05:00
parent a9f77a5126
commit 3f98312cbe

View file

@ -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) }}