mirror of
https://github.com/nasa/trick.git
synced 2025-01-18 02:40:08 +00:00
Merge pull request #1831 from nasa/1821-action-required-github-actions-v4-update
Added the workaround for GitHub test report v1 to work with action v4.
This commit is contained in:
commit
b755b2e7b9
13
.github/workflows/report_alt_linux_distros.yml
vendored
13
.github/workflows/report_alt_linux_distros.yml
vendored
@ -26,9 +26,18 @@ jobs:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dorny/test-reporter@v1
|
||||
- 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:
|
||||
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
|
||||
|
13
.github/workflows/report_linux.yml
vendored
13
.github/workflows/report_linux.yml
vendored
@ -20,9 +20,18 @@ jobs:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dorny/test-reporter@v1
|
||||
- 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:
|
||||
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
|
||||
|
13
.github/workflows/report_linux_py2.yml
vendored
13
.github/workflows/report_linux_py2.yml
vendored
@ -20,9 +20,18 @@ jobs:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dorny/test-reporter@v1
|
||||
- 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:
|
||||
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
|
||||
|
13
.github/workflows/report_macos.yml
vendored
13
.github/workflows/report_macos.yml
vendored
@ -12,9 +12,18 @@ jobs:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dorny/test-reporter@v1
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Download the artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: Trick_macos
|
||||
path: . # download the artifact in the current directory
|
||||
|
||||
- name: Report the test results
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user