RPM Build and Test Report #6587
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
name: 'RPM Build and Test Report' | |
on: | |
workflow_run: | |
workflows: ['RPM Build and Test'] | |
types: | |
- completed | |
# for testing before landing | |
workflow_dispatch: | |
permissions: {} | |
jobs: | |
report-vm-1: | |
runs-on: [self-hosted, docker] | |
# https://github.com/dorny/test-reporter/issues/149 | |
permissions: | |
checks: write | |
strategy: | |
matrix: | |
# TODO: figure out how to determine this matrix | |
distro: ['el8', 'el9', 'leap15'] | |
env: | |
STAGE_NAME: | |
steps: | |
- name: Set variables | |
run: | | |
case ${{ matrix.distro }} in | |
'el8') | |
DISTRO_NAME="EL" | |
DISTRO_VERSION="8" | |
;; | |
'el9') | |
DISTRO_NAME="EL" | |
DISTRO_VERSION="9" | |
;; | |
'leap15') | |
DISTRO_NAME="Leap" | |
DISTRO_VERSION="15.4" | |
;; | |
esac | |
echo "STAGE_NAME=Build RPM on $DISTRO_NAME $DISTRO_VERSION" >> $GITHUB_ENV | |
- name: Test Report | |
uses: phoenix-actions/test-reporting@v10 | |
with: | |
artifact: ${{ env.STAGE_NAME }} test-results | |
name: ${{ env.STAGE_NAME }} Test Results (phoenix-actions) | |
path: ${{ env.STAGE_NAME }}/**/results.xml | |
reporter: java-junit # Format of test results | |
report-hw-1: | |
runs-on: [self-hosted, docker] | |
strategy: | |
matrix: | |
# TODO: figure out how to determine this matrix | |
stage: ['Large', 'Medium', 'Medium UCX Provider'] | |
env: | |
STAGE_NAME: | |
steps: | |
- name: Set variables | |
run: echo "STAGE_NAME=Functional Hardware ${{ matrix.stage }}" >> $GITHUB_ENV | |
- name: Test Report | |
uses: phoenix-actions/test-reporting@v10 | |
with: | |
artifact: ${{ env.STAGE_NAME }} test-results | |
name: ${{ env.STAGE_NAME }} Test Results (phoenix-actions) | |
path: ${{ env.STAGE_NAME }}/**/results.xml | |
reporter: java-junit # Format of test results | |
report2: | |
runs-on: [self-hosted, docker] | |
strategy: | |
matrix: | |
distro: ['el8', 'el9', 'leap15'] | |
env: | |
STAGE_NAME: | |
steps: | |
- name: Set variables | |
run: | | |
case ${{ matrix.distro }} in | |
'el8') | |
DISTRO_NAME="EL" | |
DISTRO_VERSION="8" | |
;; | |
'el9') | |
DISTRO_NAME="EL" | |
DISTRO_VERSION="9" | |
;; | |
'leap15') | |
DISTRO_NAME="Leap" | |
DISTRO_VERSION="15.4" | |
;; | |
esac | |
echo "STAGE_NAME=Build RPM on $DISTRO_NAME $DISTRO_VERSION" >> $GITHUB_ENV | |
- name: Test Report | |
uses: dorny/test-reporter@v1 | |
with: | |
artifact: ${{ env.STAGE_NAME }} test-results | |
name: ${{ env.STAGE_NAME }} Test Results (dorny) | |
path: ${{ env.STAGE_NAME }}/**/results.xml | |
reporter: jest-junit # Format of test results | |
report-hw-2: | |
runs-on: [self-hosted, docker] | |
strategy: | |
matrix: | |
# TODO: figure out how to determine this matrix | |
stage: ['Large', 'Medium', 'Medium UCX Provider'] | |
env: | |
STAGE_NAME: | |
steps: | |
- name: Set variables | |
run: echo "STAGE_NAME=Functional Hardware ${{ matrix.stage }}" >> $GITHUB_ENV | |
- name: Test Report | |
uses: dorny/test-reporter@v1 | |
with: | |
artifact: ${{ env.STAGE_NAME }} test-results | |
name: ${{ env.STAGE_NAME }} Test Results (dorny) | |
path: ${{ env.STAGE_NAME }}/**/results.xml | |
reporter: java-junit # Format of test results |