Use cwd for coverage

This commit is contained in:
Luke Murphy 2020-10-26 18:09:39 +01:00
parent 2102193df1
commit 1e158cce55
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

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