From 31220011729f27d7c4027afdf88c94c9fba9ebca Mon Sep 17 00:00:00 2001 From: Ira Abramov Date: Tue, 19 Nov 2024 22:13:50 +0200 Subject: [PATCH 1/2] Start checking one newer macos, the old versions are getting irrelevant --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }} From b2ae312a7257645310f147fce3e0b9008589e8ad Mon Sep 17 00:00:00 2001 From: Ira Abramov Date: Tue, 19 Nov 2024 22:24:00 +0200 Subject: [PATCH 2/2] I guess this needs to be fixed to pass the tests... --- test/plugins/battery.plugin.bats | 1 + 1 file changed, 1 insertion(+) 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}" }