ci: upload code coverage
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
a2cc81c572
commit
e267b9178e
|
@ -43,7 +43,7 @@ jobs:
|
||||||
executor: e
|
executor: e
|
||||||
steps:
|
steps:
|
||||||
- build:
|
- build:
|
||||||
build-config: -Dbuild_docs=true
|
build-config: -Dbuild_docs=true -Db_coverage=true
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: .
|
root: .
|
||||||
paths:
|
paths:
|
||||||
|
@ -56,6 +56,10 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: test
|
name: test
|
||||||
command: ninja -vC /tmp/workspace/build test
|
command: ninja -vC /tmp/workspace/build test
|
||||||
|
- run:
|
||||||
|
name: upload coverage
|
||||||
|
command: bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
||||||
minimal:
|
minimal:
|
||||||
executor: e
|
executor: e
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in New Issue