diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75fb9d848e..e9154a0bc7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ jobs: bats-test: strategy: matrix: - os: [ubuntu-20.04, ubuntu-22.04, macos-12, macos-11] + os: [ubuntu-20.04, ubuntu-22.04, macos-14, macos-15] runs-on: ${{ matrix.os }} diff --git a/test/plugins/battery.plugin.bats b/test/plugins/battery.plugin.bats index 9fbcb24fbc..aa4aef5471 100644 --- a/test/plugins/battery.plugin.bats +++ b/test/plugins/battery.plugin.bats @@ -269,6 +269,7 @@ function setup_upower { function setup_ioreg { percent="$1" + # shellcheck disable=SC2317 function ioreg { printf "\"MaxCapacity\" = 100\n\"CurrentCapacity\" = %s" "${percent}" }