From c59a715c4121ead545290b2494a9779aaa26987c Mon Sep 17 00:00:00 2001 From: botlabsDev <54632107+botlabsDev@users.noreply.github.com> Date: Thu, 25 Jun 2020 18:56:17 +0200 Subject: [PATCH] Update cicd.yml add CODACY action to workflow --- .github/workflows/cicd.yml | 9 +++++++++ 1 file changed, 9 insertions(+) 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