File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -735,9 +735,9 @@ jobs:
735
735
# Combine all tracefiles into one. Note, ignoring inconsistencies between Clang and GCC reports :|
736
736
lcov --ignore-errors inconsistent $(find artifacts -name '*.info' -type f -printf '-a %p\n') -o coverage.info
737
737
# Generate the HTML report. Note, ignoring inconsistencies between Clang and GCC reports :|
738
- genhtml --ignore-errors inconsistent --no-sort --output-directory coverage/coverage coverage.info
738
+ genhtml --ignore-errors inconsistent --no-sort --output-directory coverage coverage.info
739
739
# Can use any of the removeHtmlDates.sh scripts here, so the Ubuntu x86-64 GCC Qt6 job's version will do.
740
- /usr/bin/env bash ./artifacts/test-results-*.x86-64.gcc.qt-6/coverage/removeHtmlDates.sh
740
+ /usr/bin/env bash ./artifacts/test-results-*.x86-64.gcc.qt-6/coverage/removeHtmlDates.sh coverage
741
741
# Remove build numbers from pre-releases, and remove extra build info (such as ".linux.x86-64.gcc.qt-6")
742
742
# from all releases, since this coverage report is an aggregation of many build hosts.
743
743
sed -i -Ee 's/(headerValue">([0-9]+\.){2}[0-9]+)(((-pre)\+[0-9]+)|(\+[0-9]+))\..*</\1\5\6</' \
@@ -747,7 +747,7 @@ jobs:
747
747
uses : actions/upload-artifact@v4
748
748
with :
749
749
name : coverage-report
750
- path : " ${{ runner.temp }}/coverage/coverage "
750
+ path : " ${{ runner.temp }}/coverage"
751
751
if-no-files-found : error
752
752
- name : Report partial-finished to Codacy
753
753
if : github.event_name == 'push' && github.actor != 'dependabot[bot]'
Original file line number Diff line number Diff line change @@ -86,5 +86,5 @@ if (ENABLE_COVERAGE)
86
86
VERBATIM
87
87
WORKING_DIRECTORY ${PROJECT_BINARY_DIR} )
88
88
endif ()
89
- configure_file (removeHtmlDates.sh.in ${PROJECT_BINARY_DIR} /removeHtmlDates.sh )
89
+ configure_file (removeHtmlDates.sh.in ${PROJECT_BINARY_DIR} /removeHtmlDates.sh @ONLY )
90
90
endif ()
Original file line number Diff line number Diff line change @@ -15,4 +15,4 @@ while IFS= read -d '' -r htmlFile; do
15
15
-e ' /headerItem">Test:</{s/>.*:/>Project:/;n;s/>.*</>${PROJECT_NAME}</}' \
16
16
-e ' /headerItem">(Test )?Date:</{s/>.*:/>Version:/;n;s/>.*</>${PROJECT_VERSION}${PROJECT_VERSION_SUFFIX}</}' \
17
17
" $htmlFile " < /dev/null
18
- done < <( find ' ${ PROJECT_BINARY_DIR} /coverage/' -name ' *.html' -print0)
18
+ done < <( find " ${1 :-@ PROJECT_BINARY_DIR@ / coverage/ } " -name ' *.html' -print0)
You can’t perform that action at this time.
0 commit comments