Bump test/bats from 60abfaf
to 25c3d74
#537
Workflow file for this run
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: Acceptance testing (using bats tests) | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
types: [opened, synchronize, closed] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go: ['1.19'] | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: actions/cache@v3.3.1 | |
with: | |
path: | | |
~/.cache/go-build | |
~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- uses: actions/checkout@v3.5.3 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- uses: actions/setup-go@v4.0.1 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Build Slim (quick dev) | |
run: make build_dev | |
- name: Run the bats test suite | |
run: ./test/bats/bin/bats test/debug.bats |