try to fix codecov

This commit is contained in:
lyon 2023-06-18 11:45:43 +08:00
parent 65d1920469
commit e55832cadc

View File

@ -1,3 +1,6 @@
lcov --capture --directory port/linux/build/package/pikascript/CMakeFiles/pikascript-core.dir/pikascript-lib --directory port/linux/build/package/pikascript/CMakeFiles/pikascript-core.dir/pikascript-core --output-file testHtml.info --test-name testHtml
genhtml -o result testHtml.info
# replace port/linux/package/pikascript/pikascript-core/ to src/ for testHtml.info
sed -i 's/port\/linux\/package\/pikascript\/pikascript-core/src/g' testHtml.info