ci: upload code coverage

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2019-03-21 22:14:53 +00:00
parent a2cc81c572
commit e267b9178e
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
1 changed files with 5 additions and 1 deletions

View File

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