ci: fix github action
This commit is contained in:
parent
9dac136a8b
commit
93d054591b
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
|
|
@ -19,14 +19,14 @@ jobs:
|
||||||
- name: Test && Publish
|
- name: Test && Publish
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
run:
|
run: |
|
||||||
- coverage run -m pytest
|
coverage run -m pytest
|
||||||
- coverage run -a ./update.py --release
|
coverage run -a ./update.py --release
|
||||||
- name: Report coverage
|
- name: Report coverage
|
||||||
env:
|
env:
|
||||||
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
|
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
|
||||||
run:
|
run: |
|
||||||
- coverage xml && coverage report
|
coverage xml && coverage report
|
||||||
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
||||||
- chmod +x ./cc-test-reporter
|
chmod +x ./cc-test-reporter
|
||||||
- ./cc-test-reporter after-build
|
./cc-test-reporter after-build
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user