remove lcov reporter since it's spammy and just uploading the report instead

This commit is contained in:
Jacob Overgaard
2023-01-27 14:39:41 +01:00
parent 053880e915
commit 14f32c61fb

View File

@@ -33,20 +33,20 @@ jobs:
- run: npm run build
- run: sudo npx playwright install-deps
- run: npm test
# Uncommented since the github-actions-report-lcov also generates a html report
# - name: Upload Code Coverage reports
# uses: actions/upload-artifact@v2
# if: always()
# with:
# name: code-coverage
# path: coverage/
# retention-days: 30
- name: Report code coverage
uses: zgosalvez/github-actions-report-lcov@v2
- name: Upload Code Coverage reports
uses: actions/upload-artifact@v2
if: always()
continue-on-error: true
with:
coverage-files: coverage/lcov.info
artifact-name: code-coverage-report
github-token: ${{ secrets.GITHUB_TOKEN }}
working-directory: ./
name: code-coverage
path: coverage/
retention-days: 30
# Commented out since it is outdated and is quite spammy
# - name: Report code coverage
# uses: zgosalvez/github-actions-report-lcov@v2
# if: always()
# continue-on-error: true
# with:
# coverage-files: coverage/lcov.info
# artifact-name: code-coverage-report
# github-token: ${{ secrets.GITHUB_TOKEN }}
# working-directory: ./