ci: fix code coverage reports generation
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
1ba402e11f
commit
b5be5e3cdd
|
@ -57,8 +57,14 @@ jobs:
|
||||||
name: test
|
name: test
|
||||||
command: ninja -vC /tmp/workspace/build test
|
command: ninja -vC /tmp/workspace/build test
|
||||||
- run:
|
- run:
|
||||||
name: upload coverage
|
name: generate coverage reports
|
||||||
command: bash <(curl -s https://codecov.io/bash)
|
command: cd build; find -name '*.gcno' -exec gcov -pb {} +
|
||||||
|
- run:
|
||||||
|
name: download codecov scripts
|
||||||
|
command: curl -s https://codecov.io/bash > codecov.sh
|
||||||
|
- run:
|
||||||
|
name: upload coverage reports
|
||||||
|
command: bash ./codecov.sh -X gcov
|
||||||
|
|
||||||
minimal:
|
minimal:
|
||||||
executor: e
|
executor: e
|
||||||
|
|
Loading…
Reference in New Issue