]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
remove files under test directory from coverage report
authorDmitry Misharov <dmitry@openssl.org>
Thu, 28 Sep 2023 11:21:37 +0000 (14:21 +0300)
committerTomas Mraz <tomas@openssl.org>
Mon, 2 Oct 2023 13:56:25 +0000 (15:56 +0200)
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)

.github/workflows/coveralls.yml

index bdb576fd650a57ff94a1eb2178a1e0b411eabde7..5330984c71c4d92500a91bf216dadbefc59f4d4a 100644 (file)
@@ -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: