mirror-rcaloras-bash-preexec/.github/workflows/bats.yaml
Ryan Caloras 3281b825cb Add release automation script
Add script/release to update the version, run tests, create and push
the release commit and tag, and draft GitHub release notes.

Usage:
  script/release --dry-run 0.7.0
  script/release 0.7.0
  script/release 0.7.0 "Teal Otter"
2026-08-22 22:46:31 -04:00

19 lines
454 B
YAML

name: Bats tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
bash-version: ['3.2', '4.4', '5.0', '5.3']
container:
image: bash:${{ matrix.bash-version }}
steps:
- name: Check out repository
uses: actions/checkout@v5
- name: Install test dependencies
run: apk add --no-cache bats git
- name: Run tests
run: bats test