diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f42886..32d960c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -134,8 +134,8 @@ jobs: run: | ${{ steps.python-path.outputs.python-path }} -m pip install gcovr ${{ steps.python-path.outputs.python-path }} -m gcovr -r .. \ - --exclude ../tests/ \ - --exclude ../third-party/ \ + --exclude '.*tests/.*' \ + --exclude '.*tests/.*' \ --xml-pretty \ -o coverage.xml diff --git a/codecov.yml b/codecov.yml index c9d3a1a..e9c9c87 100644 --- a/codecov.yml +++ b/codecov.yml @@ -13,3 +13,7 @@ comment: layout: "diff, flags, files" behavior: default require_changes: false # if true: only post the comment if coverage changes + +ignore: + - "tests" + - "third-party"