diff --git a/.github/workflows/test-runner-ci.yaml b/.github/workflows/test-runner-ci.yaml index b8e9ae4e4..2c287bce3 100644 --- a/.github/workflows/test-runner-ci.yaml +++ b/.github/workflows/test-runner-ci.yaml @@ -81,6 +81,7 @@ jobs: python -m coverage combine --debug=pathmap python -m coverage xml --skip-empty - name: Comment on PR + if: ${{ github.event_name == 'pull_request_target' }} uses: orgoro/coverage@v3.1 with: coverageFile: coverage.xml diff --git a/tox.ini b/tox.ini index 0a744034f..eec5baa23 100644 --- a/tox.ini +++ b/tox.ini @@ -37,8 +37,12 @@ exclude_lines = if __name__ == "__main__": omit = utest.py -[coverage:combine] -relative_paths = true +[coverage:run] +relative_files = true + +[coverage:paths] +source = + test-runner/* [gh-actions] python =