feat: Format Specifiers on Template Tags #37
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: BATS Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
bats: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
bash: ["bash:3.2", "bash:4.4", "bash:5.0", "bash:5.1", "bash:5.2"] | |
container: | |
image: ${{ matrix.bash }} | |
steps: | |
- name: Install packages | |
run: apk add diffutils | |
- name: Setup BATS | |
uses: mig4/[email protected] | |
with: | |
bats-version: 1.7.0 | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Run bash-tpl tests | |
run: bats test/ | |
- name: Run template tests | |
run: bats test/tpl |