Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Upload frontend coverage to codecov

shamoon77d9a7e9d31f
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fe06fe25e..efc10c0c3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -211,6 +211,15 @@ jobs:
with:
name: jest-coverage-report
path: src-ui/coverage
+ -
+ name: Upload frontend coverage to Codecov
+ if: always()
+ uses: codecov/codecov-action@v3
+ with:
+ # not required for public repos, but intermittently fails otherwise
+ token: ${{ secrets.CODECOV_TOKEN }}
+ # future expansion
+ flags: frontend
-
name: Run Playwright e2e tests
run: cd src-ui && npx playwright test