Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish XML Test Results #1248

Merged
merged 43 commits into from
Mar 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
1459117
test matrix configuration for oraclelinux
spfennell Mar 15, 2022
7432178
Update test_linux.yml
spfennell Mar 15, 2022
0eb2db8
Update test_linux.yml
spfennell Mar 15, 2022
3573cd9
Update test_linux.yml
spfennell Mar 15, 2022
a6dd938
Update test_linux.yml
spfennell Mar 15, 2022
3116179
Update test_linux.yml
spfennell Mar 15, 2022
130555d
Update test_linux.yml
spfennell Mar 15, 2022
30624f2
Update test_linux.yml
spfennell Mar 15, 2022
a829635
Update test_linux.yml
spfennell Mar 15, 2022
740f3bc
Update test_linux.yml
spfennell Mar 15, 2022
6d98490
Update test_linux.yml
spfennell Mar 15, 2022
a3057e7
Merge branch 'nasa:master' into development
spfennell Mar 15, 2022
a63ca36
Update test_linux.yml
spfennell Mar 15, 2022
0f0b7bc
Update test_linux.yml
spfennell Mar 16, 2022
3f6020e
Update test_linux.yml
spfennell Mar 16, 2022
6907695
Update test_linux.yml
spfennell Mar 16, 2022
5aa21ed
Update test_linux.yml
spfennell Mar 16, 2022
f956472
Update test_linux.yml
spfennell Mar 16, 2022
bba603b
Update test_linux.yml
spfennell Mar 16, 2022
66b9ceb
Update test_linux.yml
spfennell Mar 16, 2022
6ef037f
Update test_linux.yml
spfennell Mar 16, 2022
f100eed
Update test_linux.yml
spfennell Mar 16, 2022
ddd600c
#1243 ac_path_progs does not cache negative result like ac_path_prog.…
spfennell Mar 17, 2022
e28aa22
Update test_linux.yml
spfennell Mar 17, 2022
668058c
add or statement in case behavior changes across autoconf versions
spfennell Mar 17, 2022
58ccc77
Merge branch 'development' of github.com:spfennell/trick into develop…
spfennell Mar 17, 2022
030926f
squash me
spfennell Mar 17, 2022
ad09e53
Update test_linux.yml
spfennell Mar 17, 2022
e4207c3
Update test_linux.yml
spfennell Mar 17, 2022
562dd93
Update test_linux.yml
spfennell Mar 17, 2022
f6f66db
Update test_linux.yml
spfennell Mar 17, 2022
5439dc8
Update test_linux.yml
spfennell Mar 17, 2022
a0830c6
Update test_linux.yml
spfennell Mar 17, 2022
83632f3
Merge branch 'nasa:master' into development
spfennell Mar 17, 2022
ca2e9c6
Update test_linux.yml
spfennell Mar 17, 2022
b737e14
Update test_linux.yml
spfennell Mar 17, 2022
8843478
Update test_linux.yml
spfennell Mar 17, 2022
1893ffc
Update test_linux.yml
spfennell Mar 17, 2022
ac72fff
Update test_linux.yml
spfennell Mar 17, 2022
38954d0
Update test_linux.yml
spfennell Mar 18, 2022
2faf990
Create report_linux.yml
spfennell Mar 18, 2022
d52dd5a
Update test_linux.yml
spfennell Mar 18, 2022
36fb840
Update report_linux.yml
spfennell Mar 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/report_linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: 'Report'

on:
workflow_run:
workflows: ['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: 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]

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
38 changes: 35 additions & 3 deletions .github/workflows/test_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
dnf config-manager --enable ol8_codeready_builder
dnf install -y gtest-devel
#-------- Job definition ----------------
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
container: docker://${{matrix.cfg.os}}:${{matrix.cfg.tag}}
steps:
- name: Update Package Manager
Expand Down Expand Up @@ -162,12 +162,18 @@ jobs:
make
- name: Test
run: 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_${{matrix.cfg.os}}${{matrix.cfg.tag}}_py${{matrix.python}}
path: trick_test/*.xml
retention-days: 1
# Uncomment for build artifacts
# - name: Upload Trick Build
# uses: actions/upload-artifact@v3.0.0
# with:
# name: Trick_${{matrix.cfg.os}}${{matrix.cfg.tag}}
# name: Trick_${{matrix.cfg.os}}${{matrix.cfg.tag}}_py${{matrix.python}}
# path: |
# bin
# include
Expand All @@ -176,3 +182,29 @@ jobs:
# libexec
# retention-days: 1

# report:
# needs: [build]
# 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: 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]

# 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