diff options
author | Dmitry Misharov <dmitry@openssl.org> | 2023-09-28 14:21:37 +0300 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-10-02 15:56:25 +0200 |
commit | febe8cf4dee9939ee3e5523b6f14d9dc1ec74153 (patch) | |
tree | f0097546e32696cb0291d248e5fc39648e20f5c6 /.github | |
parent | 92986c0be56bc8bf9c414dab59d4f1e128f1e843 (diff) |
remove files under test directory from coverage report
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22212)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/coveralls.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index bdb576fd65..5330984c71 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -64,7 +64,13 @@ jobs: - name: make test run: make test HARNESS_JOBS=${HARNESS_JOBS:-4} TESTS='-test_external_krb5' - name: generate coverage info - run: lcov -d . -c -o ./lcov.info + run: lcov -d . -c \ + --exclude "${PWD}/test/*" \ + --exclude "${PWD}/test/helpers/*" \ + --exclude "${PWD}/test/testutil/*" \ + --exclude "${PWD}/fuzz/*" \ + --exclude "/usr/include/*" \ + -o ./lcov.info - name: Coveralls upload uses: coverallsapp/github-action@v2.2.3 with: |