Use cwd for coverage
This commit is contained in:
parent
2102193df1
commit
1e158cce55
@ -16,13 +16,10 @@ steps:
|
|||||||
- name: collect code coverage
|
- name: collect code coverage
|
||||||
image: kcov/kcov:latest
|
image: kcov/kcov:latest
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p coverage
|
- kcov . abra || true
|
||||||
- kcov coverage abra || true
|
|
||||||
|
|
||||||
- name: send code coverage report to codecov
|
- name: send code coverage report to codecov
|
||||||
image: robertstettner/drone-codecov
|
image: robertstettner/drone-codecov
|
||||||
commands:
|
|
||||||
- codecov -s coverage
|
|
||||||
secrets: [codecov_token]
|
secrets: [codecov_token]
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
|
Loading…
Reference in New Issue
Block a user