From 1053742b3d2ca72c3822bfe3bec6310468acd50b Mon Sep 17 00:00:00 2001 From: HyukWoo Park Date: Tue, 18 Jun 2024 17:15:42 +0900 Subject: [PATCH] Fix coverage analysis command to correctly collect infos Signed-off-by: HyukWoo Park --- .github/workflows/analysis-actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/analysis-actions.yml b/.github/workflows/analysis-actions.yml index 0c1c1c995..7f7c7b642 100644 --- a/.github/workflows/analysis-actions.yml +++ b/.github/workflows/analysis-actions.yml @@ -71,10 +71,10 @@ jobs: sudo locale-gen en_US.UTF-8 export LANG=en_US.UTF-8 locale - tools/run-tests.py --arch=x86_64 --engine="$GITHUB_WORKSPACE/out/coverage/escargot" new-es test262 + tools/run-tests.py --arch=x86_64 --engine="$GITHUB_WORKSPACE/out/coverage/escargot" new-es regression-tests test262 - name: Generate coverage report run: | - gcovr --gcov-ignore-parse-errors --exclude-unreachable-branches --exclude-throw-branches --exclude third_party --exclude src/api -r . --xml coverage.xml + gcovr --gcov-ignore-parse-errors --exclude-unreachable-branches --exclude-throw-branches --exclude '.*third_party/' --exclude '.*api/' -r . --xml coverage.xml - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4 with: