diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0a12a8c..f93a29a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -50,4 +50,27 @@ jobs: if: always() with: name: Coverage results for ${{ matrix.testMode }} - path: ${{ steps.tests.outputs.coveragePath }} \ No newline at end of file + path: ${{ steps.tests.outputs.coveragePath }} + upload-coverage: + needs: testAllModes + runs-on: ubuntu-latest + permissions: + pages: write + id-token: write + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Download all workflow run artifacts + uses: actions/download-artifact@v4 + with: + path: coverage-results + - name: Display structure of downloaded files + run: ls -R coverage-results + - name: Upload Pages artifact + uses: actions/upload-pages-artifact@v3 + with: + path: coverage-results + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4