Skip to content

Commit f369a7a

Browse files
author
parisb
committed
ci: remove coverage reportig, add entry crit
1 parent 2ddd6c9 commit f369a7a

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

.github/workflows/pr.yaml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@ on:
1010
branches: ["main"]
1111

1212
jobs:
13+
entry:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Commitlint CLI
17+
# You may pin to the exact commit or the version.
18+
# uses: bennypowers/commitlint-gh-actions@e2376695382ef566db685cdf4dbcd144aafb6911
19+
uses: bennypowers/[email protected]
20+
- uses: actions/checkout@v3
21+
- uses: actions/setup-python@v3
22+
- uses: pre-commit/[email protected]
23+
1324
build:
1425
runs-on: ubuntu-latest
1526
steps:
@@ -40,18 +51,3 @@ jobs:
4051
with:
4152
name: code-coverage
4253
path: coverage.txt
43-
44-
code_coverage:
45-
name: "Code coverage report"
46-
if: github.event_name == 'pull_request' # Do not run when workflow is triggered by push to main branch
47-
runs-on: ubuntu-latest
48-
needs: build # Depends on the artifact uploaded by the "unit_tests" job
49-
permissions:
50-
contents: read
51-
actions: read # to download code coverage results from "test" job
52-
pull-requests: write # write permission needed to comment on PR
53-
steps:
54-
- uses: fgrosse/[email protected] # Consider using a Git revision for maximum security
55-
with:
56-
coverage-artifact-name: "code-coverage" # can be omitted if you used this default value
57-
coverage-file-name: "coverage.txt" # can be omitted if you used this default valu

0 commit comments

Comments
 (0)