From 8bd30c2bd5e30f9e319313e18160da135c4cda53 Mon Sep 17 00:00:00 2001 From: Peter Makowski Date: Tue, 11 Jun 2024 09:58:53 +0200 Subject: [PATCH] test: add coverage report upload step (#5455) --- .github/workflows/test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 17a9bacef8..f393775459 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,8 +45,16 @@ jobs: if: steps.yarn-cache.outputs.cache-hit != 'true' run: CYPRESS_INSTALL_BINARY=0 yarn install - run: yarn test:ci + - name: Upload coverage report + if: always() + uses: actions/upload-artifact@v4 + with: + name: coverage-report + path: coverage + retention-days: 1 publish-coverage-report: + name: Publish Coverage Report if: github.ref == 'refs/heads/main' runs-on: ubuntu-latest needs: test