diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 9084edc..8da7447 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -99,17 +99,11 @@ jobs: run: | pytest . -vv - - name: Generate coverage report - run: | - python -m pip install gcovr - gcovr --exclude-unreachable-branches --print-summary -x -o coverage.xml - if: | - runner.os == 'Linux' && matrix.python-version == '3.11' && matrix.dev == false - - - name: Upload coverage report + - name: Generate and upload coverage report uses: codecov/codecov-action@v3 with: - files: ./coverage.xml + gcov: true + gcov_include: src verbose: true if: | runner.os == 'Linux' && matrix.python-version == '3.11' && matrix.dev == false