1
0
Fork 0
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:
Yuxuan Shui 2019-03-23 16:53:12 +00:00
parent ca3f89f241
commit d784bf960c
No known key found for this signature in database
GPG key ID: 37C999F617EA1A47

View file

@ -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