2020-09-08 06:53:03 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: linters
|
|
|
|
steps:
|
|
|
|
- name: run shellcheck
|
2020-10-25 20:19:14 +00:00
|
|
|
image: alpine:latest
|
2020-09-08 06:53:03 +00:00
|
|
|
commands:
|
2020-10-25 20:19:14 +00:00
|
|
|
- apk add shellcheck
|
2020-10-25 20:16:42 +00:00
|
|
|
- shellcheck abra
|
2020-10-25 20:17:01 +00:00
|
|
|
|
|
|
|
- name: run unit tests
|
2020-10-25 20:19:14 +00:00
|
|
|
image: docker:dind
|
2020-10-23 03:03:01 +00:00
|
|
|
commands:
|
2020-10-25 20:19:14 +00:00
|
|
|
- apk add bats curl
|
2020-10-23 03:03:01 +00:00
|
|
|
- bats test.bats
|
2020-09-08 06:53:03 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
2020-09-08 06:54:54 +00:00
|
|
|
- main
|