From 19629b4883dbf8e38e72179c69af7c3832f91a5b Mon Sep 17 00:00:00 2001 From: Hong Chen Date: Tue, 28 Jan 2025 13:20:34 -0600 Subject: [PATCH] Revert "Added the workaround for GitHub test report v1 to work with action v4." This reverts commit 02267fb391a424539d6848c55eb3438da42fab14. --- .github/workflows/report_alt_linux_distros.yml | 13 ++----------- .github/workflows/report_linux.yml | 13 ++----------- .github/workflows/report_linux_py2.yml | 13 ++----------- .github/workflows/report_macos.yml | 13 ++----------- 4 files changed, 8 insertions(+), 44 deletions(-) diff --git a/.github/workflows/report_alt_linux_distros.yml b/.github/workflows/report_alt_linux_distros.yml index 81511151..7ca302cc 100644 --- a/.github/workflows/report_alt_linux_distros.yml +++ b/.github/workflows/report_alt_linux_distros.yml @@ -26,18 +26,9 @@ jobs: runs-on: ubuntu-latest steps: - - 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 + - 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 45f0b034..907dc2b4 100644 --- a/.github/workflows/report_linux.yml +++ b/.github/workflows/report_linux.yml @@ -20,18 +20,9 @@ jobs: runs-on: ubuntu-latest steps: - - 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 + - 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_py2.yml b/.github/workflows/report_linux_py2.yml index 7b9021a6..952e4a2a 100644 --- a/.github/workflows/report_linux_py2.yml +++ b/.github/workflows/report_linux_py2.yml @@ -20,18 +20,9 @@ jobs: runs-on: ubuntu-latest steps: - - 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 + - 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 index 9a5ff309..03b706c1 100644 --- a/.github/workflows/report_macos.yml +++ b/.github/workflows/report_macos.yml @@ -12,18 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - - 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 + - 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