From b6e4a5b62c936ddfc45757f76cd52da4ca7d1871 Mon Sep 17 00:00:00 2001 From: Cyrille Derche Date: Fri, 13 Sep 2024 21:44:41 +0200 Subject: [PATCH] Fix coverage --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 085e92f..cef9a8e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,12 +37,12 @@ jobs: # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test - run: coverage lcov app/*.py + run: coverage run -m pytest - uses: paambaati/codeclimate-action@v9.0.0 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} with: - coverageCommand: echo "Upload coverage" # lcov -o coverage.lcov # run -m pytest app + coverageCommand: coverage lcov coverageLocations: ${{github.workspace}}/*.lcov:lcov build-push: