mirror of
https://github.com/rcaloras/bash-preexec.git
synced 2026-11-03 14:39:43 -09:00
Test against Bash 3.2, 4.4, 5.0, 5.3 in CI (#177)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
50ec4ef83e
commit
4ad5a6347e
1 changed files with 8 additions and 2 deletions
10
.github/workflows/bats.yaml
vendored
10
.github/workflows/bats.yaml
vendored
|
|
@ -4,10 +4,16 @@ 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: Install Bats
|
||||
uses: bats-core/bats-action@3.0.1
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v5
|
||||
- name: Install Bats
|
||||
run: apk add --no-cache bats
|
||||
- name: Run tests
|
||||
run: bats test
|
||||
|
|
|
|||
Loading…
Reference in a new issue