Skip to content

Commit

Permalink
Update generate_coverage_reports.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
icfaust authored Jan 12, 2025
1 parent b4a9a33 commit 945e802
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/generate_coverage_reports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ cd $ci_dir

# create coverage.py report
coverage combine .coverage.sklearnex .coverage.sklearn
coverage lcov -o coverage_"${1}".info
coverage lcov -o coverage_py_"${1}".info

# create gcov report (lcov format)
if [[ $OSTYPE == *"linux"* ]]; then
Expand All @@ -39,7 +39,7 @@ if [[ $OSTYPE == *"linux"* ]]; then
# the build numpy, this must be previously set as NUMPY_BUILD
python -m pip install gcovr $NUMPY_BUILD

gcovr --gcov-executable "${GCOV_EXE}" -r . -v --lcov --filter "${FITLER}" -o gcov_"${1}".info
gcovr --gcov-executable "${GCOV_EXE}" -r . -v --lcov --filter "${FITLER}" -o coverage_cpp_"${1}".info

# reinstall previous numpy
python -m pip install $NUMPY_TEST
Expand Down

0 comments on commit 945e802

Please sign in to comment.