Skip to content

Add comprehensive BATS black box testing framework #5

Add comprehensive BATS black box testing framework

Add comprehensive BATS black box testing framework #5

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go-version: [1.21]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Install BATS
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get update
sudo apt-get install -y bats
elif [ "$RUNNER_OS" == "macOS" ]; then
brew install bats-core
fi
- name: Run tests
run: make test