Browse Source

CI: Make test report available as artifact (#1484)

Make the HTML test report available as an GitHub Actions artifact.
One ZIP files for download, available for 3 days.

Backport of #1290.
Vaclav Petras 4 years ago
parent
commit
908badc3af
1 changed files with 6 additions and 0 deletions
  1. 6 0
      .github/workflows/ci.yml

+ 6 - 0
.github/workflows/ci.yml

@@ -74,3 +74,9 @@ jobs:
       run: .github/workflows/test_simple.sh
     - name: Run tests
       run: .github/workflows/test_thorough.sh
+    - name: Make HTML test report available
+      uses: actions/upload-artifact@v2
+      with:
+        name: testreport-${{ matrix.os }}
+        path: testreport
+        retention-days: 3