22 lines
398 B
YAML
22 lines
398 B
YAML
---
|
|
kind: pipeline
|
|
name: linters
|
|
steps:
|
|
- name: run shellcheck
|
|
image: debian:buster
|
|
commands:
|
|
- apt update
|
|
- apt install -y shellcheck
|
|
- shellcheck abra
|
|
|
|
- name: run unit tests
|
|
image: debian:buster
|
|
commands:
|
|
- apt update
|
|
- apt install -y bats curl
|
|
- curl -fsSL https://get.docker.com | sh
|
|
- bats test.bats
|
|
trigger:
|
|
branch:
|
|
- main
|