Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:

jobs:
changelog:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Check that PR is mentioned in Changelog
Expand All @@ -19,7 +19,7 @@ jobs:
if: ${{github.event.pull_request}}

shfmt:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- run: |
Expand All @@ -37,7 +37,7 @@ jobs:
run: "! bin/bats test/fixtures/bats/failing.bats"

shellcheck:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Run shellcheck
Expand All @@ -49,7 +49,7 @@ jobs:
linux:
strategy:
matrix:
os: ['ubuntu-20.04', 'ubuntu-22.04']
os: ['ubuntu-22.04', 'ubuntu-24.04']
env_vars:
- ''
# allow for some parallelity without GNU parallel, since it is not installed by default
Expand Down Expand Up @@ -84,13 +84,13 @@ jobs:
npm_on_linux:
strategy:
matrix:
os: ['ubuntu-20.04', 'ubuntu-22.04']
os: ['ubuntu-22.04', 'ubuntu-24.04']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: v18.20.2
node-version: v18.20.2
- run: npm pack ./
- run: npm install -g ./bats-*.tgz
- name: Run test on OS ${{ matrix.os }}
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: v18.20.2
node-version: v18.20.2
- run: npm pack ./
- run: npm install -g (get-item .\bats-*.tgz).FullName
- run: bats -T --print-output-on-failure test
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: v18.20.2
node-version: v18.20.2
- name: Install unbuffer via expect
run: brew install expect
- name: Run test on OS ${{ matrix.os }}
Expand Down Expand Up @@ -199,7 +199,7 @@ jobs:

lib64-install:
runs-on: ubuntu-latest
permissions:
permissions:
checks: write
pull-requests: write
steps:
Expand Down Expand Up @@ -324,11 +324,11 @@ jobs:
TERM: linux # fix tput for tty issue work around

coverage:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- run: |
wget https://github.com/SimonKagstrom/kcov/releases/download/v40/kcov-amd64.tar.gz
wget https://github.com/SimonKagstrom/kcov/releases/download/v42/kcov-amd64.tar.gz
tar -xf kcov-amd64.tar.gz
- run: |
./usr/local/bin/kcov --exclude-path=/tmp $PWD/coverage ./bin/bats --filter-tags '!no-kcov' test/
Expand Down
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The format is based on [Keep a Changelog][kac] and this project adheres to
* increase compatibility with Solaris (#1043)
* fix `noclobber` breaking `bats-gather-tests` (#1042)
* fix exiting with `0` despite `bats:focus` when all tests have been filtered out (#1058)
* remove deprecated ubuntu 20.04 from CI config (#1083)

### Documentation

Expand Down
4 changes: 2 additions & 2 deletions docs/source/support-matrix.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ Supported Operating systems

The following Operating Systems are supported and tested automatically (CI) or manually during development:

* Linux: Alpine (CI), Alma 8 (CI), Arch Linux (manual), Ubuntu 20.04/22.04 (CI)
* Linux: Alpine (CI), Alma 8 (CI), Arch Linux (manual), Ubuntu 22.04/24.04 (CI)
* FreeBSD: 11 (CI)
* macOS: 11 (CI), 12 (CI)
* Windows: Server 2019 (CI), 10 (manual)

* Git for Windows Bash (MSYS2 based)
* Windows Subsystem for Linux
* MSYS2
Expand Down