mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
try to fix codecov
This commit is contained in:
parent
0db9ff7c8c
commit
65d1920469
4
.github/workflows/CI.yml
vendored
4
.github/workflows/CI.yml
vendored
@ -48,12 +48,12 @@ jobs:
|
||||
run: cd ${{github.workspace}}/port/linux && bash gtest.sh
|
||||
|
||||
- name: Lcov
|
||||
run: cd ${{github.workspace}}/port/linux && bash lcov.sh
|
||||
run: cd ${{github.workspace}} && bash lcov.sh
|
||||
|
||||
- name: Upload coverage reports to Codecov
|
||||
uses: codecov/codecov-action@v3
|
||||
with:
|
||||
file: ${{github.workspace}}/port/linux/testHtml.info
|
||||
file: ${{github.workspace}}/testHtml.info
|
||||
|
||||
- name: VALGRIND
|
||||
run: cd ${{github.workspace}}/port/linux && bash valgrind.sh
|
||||
|
3
lcov.sh
Normal file
3
lcov.sh
Normal file
@ -0,0 +1,3 @@
|
||||
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
|
||||
|
@ -1,3 +0,0 @@
|
||||
lcov --capture --directory build/package/pikascript/CMakeFiles/pikascript-core.dir/pikascript-lib --directory build/package/pikascript/CMakeFiles/pikascript-core.dir/pikascript-core --output-file testHtml.info --test-name testHtml
|
||||
genhtml -o result testHtml.info
|
||||
|
Loading…
x
Reference in New Issue
Block a user