diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index 6338195d02..1b44d6c9ad 100644 --- a/.github/workflows/test-all.yml +++ b/.github/workflows/test-all.yml @@ -59,7 +59,13 @@ jobs: run: nohup Xvfb & echo "DISPLAY=:0" >> $GITHUB_ENV - - run: npm run jest-ci -- --selectProjects unit + - run: npm run jest-ci -- --coverage --coverageReporters text html-spa --selectProjects unit + - name: Upload unit test coverage + if: success() || failure() + uses: actions/upload-artifact@v3 + with: + name: unit-test-coverage + path: ${{ github.workspace }}/coverage - run: npm run build-dev if: success() || failure() - run: npm run test-render @@ -83,4 +89,4 @@ jobs: - run: npm ci - run: npm run build-dist - run: npm run jest-ci -- --selectProjects build - if: success() || failure() \ No newline at end of file + if: success() || failure()