mirror of
https://github.com/botlabsDev/npkpy.git
synced 2026-01-27 22:57:16 +01:00
Update cicd.yml
add CODACY action to workflow
This commit is contained in:
parent
93ace6cc56
commit
c59a715c41
1 changed files with 9 additions and 0 deletions
9
.github/workflows/cicd.yml
vendored
9
.github/workflows/cicd.yml
vendored
|
|
@ -29,7 +29,16 @@ jobs:
|
|||
run: |
|
||||
pip install pytest pytest-cov codecov
|
||||
pytest --cov=npkpy --cov=acceptance_test
|
||||
|
||||
- name: Publish to codecov
|
||||
run: |
|
||||
codecov --token=${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
- name: Run codacy-coverage-reporter
|
||||
uses: codacy/codacy-coverage-reporter-action@master
|
||||
with:
|
||||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||
coverage-reports: cobertura.xml
|
||||
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue