---
kind: pipeline
name: linters
steps:
- name: run shellcheck
image: koalaman/shellcheck-alpine:v0.7.1
commands:
- shellcheck abra
- name: run unit tests
image: decentral1se/docker-dind-bats-kcov
- bats tests
- name: collect code coverage
failure: ignore # until we fix this
- kcov . bats tests || true
- name: send code coverage report to codecov
image: plugins/codecov
settings:
token:
from_secret: codecov_token
required: true
trigger:
branch:
- main