File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 66 name : Static Analysis
77 runs-on : ubuntu-latest
88 container : python:3.12
9+ environment :
10+ name : pr-check
911 steps :
1012 - uses : actions/checkout@v4
13+ with :
14+ fetch-depth : 2
1115 - name : install prerequisites
1216 run : |
1317 pip install .[check] .[test] black pylint
14- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 --output cc-test-reporter
15- chmod +x cc-test-reporter
1618 - name : run black
1719 run : |
1820 black --check --diff .
2123 pylint --fail-under 10 src
2224 pylint --fail-under 10 --disable=protected-access tests
2325 - name : run tests
24- env :
25- CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
2626 run : |
27- ./cc-test-reporter before-build
2827 pytest . --cov-report lcov
29- ./cc-test-reporter after-build --exit-code $?
28+ - uses : qltysh/qlty-action/coverage@main
29+ with :
30+ token : ${{env.QLTY_COVERAGE_TOKEN}}
31+ files : coverage.lcov
You can’t perform that action at this time.
0 commit comments