Skip to content

Commit

Permalink
test: add coverage report upload step (#5455)
Browse files Browse the repository at this point in the history
  • Loading branch information
petermakowski authored Jun 11, 2024
1 parent 0e99dc2 commit 8bd30c2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8bd30c2

Please sign in to comment.