From 3fada6695e5e3121ca8eb0f352ad8a1db4ec4006 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Tue, 17 May 2022 17:15:34 -0400 Subject: [PATCH] ci: show test results summary --- .github/workflows/main.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a113b8fa1..3435556af 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -279,10 +279,24 @@ jobs: shell: bash - name: Upload test results uses: actions/upload-artifact@v3 + if: success() || failure() with: - name: test_results_${{ matrix.platform.id }} + name: test-results-${{ matrix.platform.id }} path: build/results_*.xml + test_results: + name: Test results + needs: [ build ] + runs-on: ubuntu-latest + steps: + - name: Download test results + uses: actions/download-artifact@v3 + - name: Generate test summary + uses: test-summary/action@v1 + with: + paths: 'test-results-*/*.xml' + + # Generate documentation using docurium. We'll upload the documentation # as a build artifact so that it can be reviewed as part of a pull # request or in a forked build. For CI builds in the main repository's @@ -291,6 +305,7 @@ jobs: documentation: name: Generate documentation needs: [ containers ] + if: success() || failure() runs-on: ubuntu-latest steps: - name: Check out repository