File tree Expand file tree Collapse file tree 1 file changed +11
-15
lines changed
Expand file tree Collapse file tree 1 file changed +11
-15
lines changed Original file line number Diff line number Diff line change 1010 branches : ["main"]
1111
1212jobs :
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 :
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 security55- 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
You can’t perform that action at this time.
0 commit comments