mirror of
https://github.com/nasa/trick.git
synced 2025-01-20 19:49:27 +00:00
02267fb391
Testing the workaround for GitHub test report v1 to work with action v4 and if not working, will have to change the GitHub action version to v3 while leaving GitHub artifact version as v4 as required.
44 lines
1.6 KiB
YAML
44 lines
1.6 KiB
YAML
name: 'Report More Linux'
|
|
|
|
on:
|
|
workflow_run:
|
|
workflows: ['More Linux'] # runs after CI workflow
|
|
types:
|
|
- completed
|
|
jobs:
|
|
report:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
cfg:
|
|
#-------- Operating Systems ----------------
|
|
- { os: ubuntu, tag: 18.04, arch: debian, arch_ver: 10 }
|
|
- { os: ubuntu, tag: 20.04, arch: debian, arch_ver: 11 }
|
|
- { os: debian, tag: 10, arch: debian, arch_ver: 10 }
|
|
- { os: debian, tag: 11, arch: debian, arch_ver: 11 }
|
|
- { os: debian, tag: bookworm, arch: debian, arch_ver: 12 }
|
|
- { os: almalinux, tag: 8, arch: rhel, arch_ver: 8 }
|
|
python: [2, 3]
|
|
#-------- Exclude bookworm on python 2 ---------------------
|
|
exclude:
|
|
- cfg: { tag: bookworm }
|
|
python: 2
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout the repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Download the artifact
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
name: Trick_${{matrix.cfg.os}}${{matrix.cfg.tag}}_py${{matrix.python}}
|
|
path: . # download the artifact in the current directory
|
|
|
|
- name: Report the test results
|
|
uses: dorny/test-reporter@v1
|
|
with:
|
|
name: Results_Trick_${{matrix.cfg.os}}${{matrix.cfg.tag}}_py${{matrix.python}} # 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
|