This repository has been archived on 2024-10-23. You can view files and clone it, but cannot push or open issues or pull requests.
abra-bash/.drone.yml
Luke Murphy 02fa9025dc
Some checks failed
continuous-integration/drone/push Build is failing
Install kcov directly now
2020-10-26 11:26:28 +01:00

32 lines
567 B
YAML

---
kind: pipeline
name: linters
steps:
- name: run shellcheck
image: alpine:latest
commands:
- apk add shellcheck
- shellcheck abra
- name: run unit tests
image: docker:dind
commands:
- apk add bats curl
- bats test.bats
- name: collect code coverage
image: alpine:latest
commands:
- apk add kcov
- mkdir -p coverage
- kcov coverage abra
- name: send code coverage report to codecov
image: robertstettner/drone-codecov
secrets:
- codecov_token
trigger:
branch:
- main