From 5c0c8f5fcaaf23db5b9ca6e3e6b2f7a9c93705de Mon Sep 17 00:00:00 2001 From: mrava87 Date: Sun, 1 Oct 2023 21:13:34 +0300 Subject: [PATCH] minor: fix coveragfe --- .github/workflows/codacy-coverage-reporter.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/codacy-coverage-reporter.yaml b/.github/workflows/codacy-coverage-reporter.yaml index 092fb57f..f1a3f95a 100644 --- a/.github/workflows/codacy-coverage-reporter.yaml +++ b/.github/workflows/codacy-coverage-reporter.yaml @@ -27,3 +27,12 @@ jobs: run: | pip install . pip install coverage + - name: Code coverage with coverage + run: | + coverage run -m pytest + coverage xml + - name: Run codacy-coverage-reporter + uses: codacy/codacy-coverage-reporter-action@v1 + with: + project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} + coverage-reports: coverage.xml