Explorar o código

[ci] Rename job for clarity and update jest coverage comment configuration

Harsh Gupta hai 5 meses
pai
achega
84d4002d91
Modificáronse 1 ficheiros con 3 adicións e 5 borrados
  1. 3 5
      .github/workflows/pr-comments.yml

+ 3 - 5
.github/workflows/pr-comments.yml

@@ -9,7 +9,7 @@ permissions:
   pull-requests: write
 
 jobs:
-  tests-and-coverage:
+  backend-tests-and-coverage:
     runs-on: ubuntu-latest
 
     steps:
@@ -120,12 +120,10 @@ jobs:
       - name: Add jest coverage PR comment
         uses: MishaKav/jest-coverage-comment@v1
         with:
-          coverage-summary-path: ./reports/jest/coverage-final.json
-          title: UI Code Coverage
-          summary-title: Jest Coverage Report
+          coverage-summary-path: ./reports/jest/coverage-summary.json
+          summary-title: UI Coverage Report
           badge-title: Coverage
           hide-comment: false
           create-new-comment: false
           hide-summary: false
           coverage-title: Coverage Report
-