Skip to content

Commit 19aa461

Browse files
committed
ci: remove code coverage action since it's not working in PRs from forks
1 parent cbfed1d commit 19aa461

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

.github/workflows/pull-requests.yml

-38
Original file line numberDiff line numberDiff line change
@@ -234,41 +234,3 @@ jobs:
234234
- run: node bin/lint-staged.js --version
235235
- run: node bin/lint-staged.js --help
236236
- run: npm test
237-
238-
codecov:
239-
name: Code Coverage
240-
permissions:
241-
pull-requests: write
242-
runs-on: ubuntu-latest
243-
needs:
244-
- Changesets
245-
- Commitlint
246-
- ESLint
247-
- test-cygwin
248-
- test-matrix
249-
- test-msys2
250-
- test-node-range
251-
steps:
252-
- uses: actions/checkout@v4
253-
- uses: actions/download-artifact@v4
254-
with:
255-
name: cobertura-coverage.xml
256-
- name: Code Coverage Report
257-
uses: irongut/[email protected]
258-
with:
259-
filename: cobertura-coverage.xml
260-
badge: true
261-
format: markdown
262-
output: both
263-
- name: Add Coverage PR Comment
264-
uses: marocchino/sticky-pull-request-comment@v2
265-
with:
266-
hide_and_recreate: true
267-
hide_classify: 'OUTDATED'
268-
path: code-coverage-results.md
269-
# Run action again to fail PR status _after_ posting PR comment
270-
- name: Fail PR with low coverage
271-
uses: irongut/[email protected]
272-
with:
273-
filename: cobertura-coverage.xml
274-
fail_below_min: 100

0 commit comments

Comments
 (0)