better bats tests #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CI" | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup BATS | |
uses: mig4/setup-bats@v1 | |
with: | |
bats-version: 1.2.1 | |
- name: Check out code | |
uses: actions/checkout@v1 | |
- name: Install deps | |
run: snap install yq --channel=v3/stable | |
- name: Build | |
run: make build | |
- name: Config | |
run: make config | |
- name: Test | |
run: make integration-test |