From b2243988c33a2ccd8ebbd13248aaedf06b396e42 Mon Sep 17 00:00:00 2001 From: Stuart Longland Date: Sat, 4 May 2024 19:14:35 +1000 Subject: [PATCH] github actions: Use `pytest-cov` plug-in with `lcov` report. --- .github/workflows/test.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 88aa382..4957a2b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -67,8 +67,7 @@ jobs: - name: Test with py.test (with coverage) if: ${{ !inputs.skip-coverage }} run: | - coverage run -m pytest - coverage-lcov + python -m pytest --cov=aioax25 --cov-report=term-missing --cov-report=lcov - name: Test with py.test (without lcov coverage) if: ${{ inputs.skip-coverage }} run: | @@ -78,4 +77,4 @@ jobs: uses: coverallsapp/github-action@master with: github-token: ${{ secrets.GITHUB_TOKEN }} - path-to-lcov: ./lcov.info + path-to-lcov: ./coverage.lcov