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