test: add config unit tests #2
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: "Config Test" | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup BATS | |
uses: mig4/setup-bats@v1 | |
with: | |
bats-version: 1.10.0 | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Json Lint | |
run: sudo apt-get update && sudo apt-get -y install jsonlint | |
- name: Test | |
run: bats test_config.bats |