Add codecoverage
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
NADAL Jean-Baptiste
2020-01-06 19:03:51 +01:00
parent e0a2ce9223
commit 3f0973a9f5
2 changed files with 15 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ steps:
image: registry.nadal-fr.com/buildroot_dev
commands:
- mkdir -p domo-iot/build
- cd domo-iot/build && cmake ..
- cd domo-iot/build && cmake .. -DDOMO_BUILD_TEST=ON
- make
- name: test
@@ -29,5 +29,11 @@ steps:
- cd domo-iot/build
- ./bin/test_device
- name: codecov
image: registry.nadal-fr.com/buildroot_dev
commands:
- cd domo-iot/build
- gcovr -v --object-directory=. -r ..
image_pull_secrets:
- dockerconfigjson