From 550a3a126b37bf6131c35fc4097ae631a4c3f02e Mon Sep 17 00:00:00 2001 From: alexau Date: Sat, 2 Dec 2023 19:05:08 +0800 Subject: [PATCH] Ignore the coverage on test files --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0908043..a2872b9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -214,7 +214,7 @@ jobs: - name: Generate coverage report run: | coverage report -m - coverage html + coverage html --omit="*/test*" - name: upload artifact uses: actions/upload-pages-artifact@v1 with: