diff --git a/.github/workflows/report_alt_linux_distros.yml b/.github/workflows/report_alt_linux_distros.yml new file mode 100644 index 00000000..659fc647 --- /dev/null +++ b/.github/workflows/report_alt_linux_distros.yml @@ -0,0 +1,30 @@ +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] + + runs-on: ubuntu-latest + steps: + - uses: dorny/test-reporter@v1 + 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 diff --git a/.github/workflows/report_linux.yml b/.github/workflows/report_linux.yml index 13499354..668be883 100644 --- a/.github/workflows/report_linux.yml +++ b/.github/workflows/report_linux.yml @@ -1,4 +1,4 @@ -name: 'Report' +name: 'Report Linux' on: workflow_run: @@ -12,17 +12,12 @@ jobs: 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: ubuntu, tag: 22.04, arch: debian, arch_ver: 12 } - - { 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: centos, tag: 7, arch: rhel, arch_ver: 7 } - { os: rockylinux, tag: 8, arch: rhel, arch_ver: 8 } - { os: oraclelinux, tag: 8, arch: rhel, arch_ver: 8 } - - { os: almalinux, tag: 8, arch: rhel, arch_ver: 8 } - python: [2, 3] + python: [3] + runs-on: ubuntu-latest steps: diff --git a/.github/workflows/report_linux_py2.yml b/.github/workflows/report_linux_py2.yml new file mode 100644 index 00000000..d324d7b8 --- /dev/null +++ b/.github/workflows/report_linux_py2.yml @@ -0,0 +1,29 @@ +name: 'Report Linux Python 2' + +on: + workflow_run: + workflows: ['Linux Python 2'] # runs after CI workflow + types: + - completed +jobs: + report: + strategy: + fail-fast: false + matrix: + cfg: +#-------- Operating Systems ---------------- + - { os: ubuntu, tag: 22.04, arch: debian, arch_ver: 12 } + - { os: centos, tag: 7, arch: rhel, arch_ver: 7 } + - { os: rockylinux, tag: 8, arch: rhel, arch_ver: 8 } + - { os: oraclelinux, tag: 8, arch: rhel, arch_ver: 8 } + python: [2] + + + runs-on: ubuntu-latest + steps: + - uses: dorny/test-reporter@v1 + 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 diff --git a/.github/workflows/report_macos.yml b/.github/workflows/report_macos.yml new file mode 100644 index 00000000..03b706c1 --- /dev/null +++ b/.github/workflows/report_macos.yml @@ -0,0 +1,20 @@ +name: 'Report macOS' + +on: + workflow_run: + workflows: ['macOS'] # runs after CI workflow + types: + - completed +jobs: + report: + strategy: + fail-fast: false + + runs-on: ubuntu-latest + steps: + - uses: dorny/test-reporter@v1 + with: + artifact: Trick_macos # artifact name + name: Results_Trick_macos # 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 diff --git a/.github/workflows/test_macos.yml b/.github/workflows/test_macos.yml index 219fe8ef..d6df3509 100644 --- a/.github/workflows/test_macos.yml +++ b/.github/workflows/test_macos.yml @@ -9,6 +9,7 @@ on: - '.github/workflows/**' - '!.github/workflows/test_macos.yml' pull_request: + workflow_dispatch: jobs: macOS: @@ -38,3 +39,10 @@ jobs: python3 -m venv .venv && source .venv/bin/activate && pip3 install -r requirements.txt export MAKEFLAGS=-j4 cd ../../../; make test + - name: Upload Tests + uses: actions/upload-artifact@v3.0.0 + if: success() || failure() # run this step even if previous step failed + with: + name: Trick_macos + path: trick_test/*.xml + retention-days: 1