]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Upload frontend coverage to codecov 3597/head
authorshamoon <4887959+shamoon@users.noreply.github.com>
Sat, 17 Jun 2023 02:41:53 +0000 (19:41 -0700)
committershamoon <4887959+shamoon@users.noreply.github.com>
Sat, 17 Jun 2023 02:49:01 +0000 (19:49 -0700)
.github/workflows/ci.yml

index fe06fe25ef79b2cad2f905b8703e09af0d040b82..efc10c0c380a21dfd69648f176d50cb2748a934e 100644 (file)
@@ -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