mirror of
https://github.com/yshui/picom.git
synced 2024-11-11 13:51:02 -05:00
ci: fix code coverage reports generation
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
ca3f89f241
commit
d784bf960c
1 changed files with 8 additions and 2 deletions
|
@ -57,8 +57,14 @@ jobs:
|
|||
name: test
|
||||
command: ninja -vC /tmp/workspace/build test
|
||||
- run:
|
||||
name: upload coverage
|
||||
command: bash <(curl -s https://codecov.io/bash)
|
||||
name: generate coverage reports
|
||||
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:
|
||||
executor: e
|
||||
|
|
Loading…
Reference in a new issue