diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 7a83481..c5cbb54 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -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