From 0a8576ec94d33fd5d0e80c1a4d2543aead4fb8ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Mino?= Date: Sun, 29 Dec 2024 12:26:19 +0100 Subject: [PATCH] ci: report frontend coverage on PR --- .github/workflows/github-actions.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index c1be07163f3..0d58b73f699 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -142,6 +142,11 @@ jobs: - name: 'Artifact: remove unused JARs' run: | rm target/*-javadoc.jar target/*-sources.jar + - name: Frontend coverage report + if: ${{ always() && hashFiles('target/.nyc_output/frontend-combined-coverage.json') != '' }} + uses: sidx1024/report-nyc-coverage-github-action@v1.2.7 + with: + coverage_file: 'target/.nyc_output/frontend-combined-coverage.json' - name: 'Artifact: upload JAR' uses: actions/upload-artifact@v4 with: