You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/project.json
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -40,12 +40,22 @@
40
40
"parallel": false
41
41
}
42
42
},
43
+
"coverage:sync": {
44
+
"//": "Sync codecov.yml flags and components from the current project graph and stage the file for commit. Must run before the release commit so the updated codecov.yml is included.",
45
+
"executor": "nx:run-commands",
46
+
"options": {
47
+
"commands": [
48
+
"node scripts/sync-codecov-flags.mjs"
49
+
],
50
+
"cwd": "{workspaceRoot}",
51
+
"parallel": false
52
+
}
53
+
},
43
54
"coverage:upload": {
44
-
"//": "Sync Codecov flags from the current project graph, then upload all coverage.cobertura.xml files found under tests/. Assumes tests have already been run. Requires CODECOV_TOKEN env var and the codecov CLI on PATH.",
55
+
"//": "Upload all coverage.cobertura.xml files found under tests/ to Codecov. Assumes tests have already been run and coverage:sync has been called. Requires CODECOV_TOKEN env var and the codecov CLI on PATH.",
0 commit comments