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 dd570e224b
All checks were successful
continuous-integration/drone/push Build is passing
Ignore those build failures
2020-11-05 16:02:21 +01:00

34 lines
672 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 git bash
- bats tests
- name: collect code coverage
failure: ignore # until we fix this
image: kcov/kcov:latest
commands:
- apk add bats git bash
- kcov . bats tests || true
- name: send code coverage report to codecov
failure: ignore # until we fix this
image: plugins/codecov
settings:
token:
from_secret: codecov_token
required: true
trigger:
branch:
- main