Update cicd.yml

add CODACY action to workflow
This commit is contained in:
botlabsDev 2020-06-25 18:56:17 +02:00 committed by GitHub
parent 93ace6cc56
commit c59a715c41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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