From: Dmitry Misharov Date: Thu, 28 Sep 2023 11:21:37 +0000 (+0300) Subject: remove files under test directory from coverage report X-Git-Tag: openssl-3.2.0-beta1~153 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=febe8cf4dee9939ee3e5523b6f14d9dc1ec74153;p=thirdparty%2Fopenssl.git remove files under test directory from coverage report Reviewed-by: Matt Caswell Reviewed-by: Paul Dale Reviewed-by: Richard Levitte Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/22212) --- diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index bdb576fd650..5330984c71c 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: