This repository has been archived on 2021-07-03. You can view files and clone it, but cannot push or open issues or pull requests.
abra/.drone.yml
2020-10-26 18:09:39 +01:00

28 lines
506 B
YAML

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