From 3e46828d301e5a161a1bde2e5f40c0ee5fd9c7e1 Mon Sep 17 00:00:00 2001 From: Florian Weber Date: Tue, 12 Nov 2024 06:22:01 +0100 Subject: [PATCH] Run tests on Mac OS 14 and 15 (#209) * Run tests on Mac OS 14 and 15 * Update uninstall-homebrew.sh * Don't die on bad terminal defaults request. --------- Co-authored-by: Jeff Geerling --- .github/workflows/ci.yml | 4 ++-- tasks/terminal.yml | 1 + tests/uninstall-homebrew.sh | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8abd28..a319618 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,8 +36,8 @@ jobs: strategy: matrix: os: - - macos-12 - - macos-11 + - macos-15 + - macos-14 steps: - name: Check out the codebase. diff --git a/tasks/terminal.yml b/tasks/terminal.yml index f4a2678..b1a6d6e 100644 --- a/tasks/terminal.yml +++ b/tasks/terminal.yml @@ -4,6 +4,7 @@ command: defaults read com.apple.terminal 'Default Window Settings' register: terminal_theme changed_when: false + failed_when: false check_mode: false - name: Ensure custom Terminal profile is added. diff --git a/tests/uninstall-homebrew.sh b/tests/uninstall-homebrew.sh index d6d4c96..40e1bf1 100755 --- a/tests/uninstall-homebrew.sh +++ b/tests/uninstall-homebrew.sh @@ -11,3 +11,4 @@ sudo ./uninstall.sh --force sudo rm -rf /usr/local/Homebrew sudo rm -rf /usr/local/Caskroom sudo rm -rf /usr/local/bin/brew +sudo rm -rf /opt/homebrew