trick/.github/workflows/report_alt_linux_distros.yml
Hong Chen ee5edba146
1821 action required GitHub actions v4 update for actions@checkout (#1824)
* Updated to Github actions v4 as Github actions v3 will be closing down by 1/30/25.

* Updated to use actions/checkout action at the v4 branch as well to be consistent with artifacts. It is recommended to use a sepcific version or tag instead of master to ensure stability and predictability.

* Made the artifact name unique within the workflow run.
2025-01-14 11:36:44 -06:00

35 lines
1.3 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:
- uses: dorny/test-reporter@v4
with:
artifact: Trick_${{matrix.cfg.os}}${{matrix.cfg.tag}}_py${{matrix.python}} # artifact name
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