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
|
||||
steps:
|
||||
- build:
|
||||
build-config: -Dbuild_docs=true
|
||||
build-config: -Dbuild_docs=true -Db_coverage=true
|
||||
- persist_to_workspace:
|
||||
root: .
|
||||
paths:
|
||||
|
@ -56,6 +56,10 @@ jobs:
|
|||
- run:
|
||||
name: test
|
||||
command: ninja -vC /tmp/workspace/build test
|
||||
- run:
|
||||
name: upload coverage
|
||||
command: bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
minimal:
|
||||
executor: e
|
||||
steps:
|
||||
|
|
Loading…
Reference in New Issue