forked from ArduPilot/ardupilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.github: use a junit report for simpler PR checks
- Loading branch information
Showing
8 changed files
with
103 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: 'Test Report' | ||
on: | ||
workflow_run: | ||
workflows: [ | ||
'test unit tests and sitl building', | ||
'test blimp', | ||
'test plane', | ||
'test rover', | ||
'test sub', | ||
'test tracker', | ||
'test copter' ] # runs after CI workflow | ||
types: | ||
- completed | ||
|
||
permissions: | ||
contents: read | ||
actions: read | ||
checks: write | ||
|
||
jobs: | ||
report: | ||
runs-on: ubuntu-latest | ||
# strategy: | ||
# fail-fast: false # don't cancel if a job from the matrix fails | ||
# matrix: | ||
# config: [ | ||
# sitltest-plane, | ||
# sitltest-quadplane, | ||
# sitltest-copter-tests1a, | ||
# sitltest-copter-tests1b, | ||
# sitltest-copter-tests1c, | ||
# sitltest-copter-tests1d, | ||
# sitltest-copter-tests1e, | ||
# sitltest-copter-tests2a, | ||
# sitltest-copter-tests2b, | ||
# sitltest-heli, | ||
# sitltest-blimp, | ||
# sitltest-rover, | ||
# sitltest-sailboat, | ||
# sitltest-balancebot, | ||
# sitltest-sub, | ||
# sitltest-tracker, | ||
# base-unit-tests, | ||
# ] | ||
|
||
steps: | ||
- uses: dorny/test-reporter@v1 | ||
with: | ||
artifact: /test-results-junit-(.*)/ # artifact name | ||
name: Tests Report $1 # Name of the check run which will be created | ||
path: '*.xml' # Path to test results (inside artifact .zip) | ||
reporter: java-junit # Format of test results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters