Skip to content

Commit

Permalink
[#2259] Upgrade GitHub Actions macOS runners to 13, 14 and 15 (#2260)
Browse files Browse the repository at this point in the history
Update GitHub Action runner to macOS 13, 14, 15 and remove macOS 12

The macOS 12 version is deprecated and removed by the end of 2024.
This commit updates the GitHub Action runner to use macOS 13, 14,
and 15 instead.
  • Loading branch information
JoanneHing authored Jan 27, 2025
1 parent e53c52c commit 7eb104c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# Deprecation Notice: MacOS 12 will be deprecated by the end of 2024
os: [ubuntu-20.04, ubuntu-22.04, macos-12, macos-13, windows-2019, windows-2022]
os: [ubuntu-20.04, ubuntu-22.04, macos-13, macos-14, macos-15, windows-2019, windows-2022]
runs-on: ${{ matrix.os }}
env:
HOMEBREW_NO_AUTO_UPDATE: 1 # Prevent time-consuming brew update
Expand Down Expand Up @@ -79,7 +78,7 @@ jobs:
run: ./gradlew clean checkstyleAll test systemTest coverage

- name: Run code coverage
if: ${{ success() && ( matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-11' || matrix.os == 'windows-2022' ) }}
if: ${{ success() && ( matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-15' || matrix.os == 'windows-2022' ) }}
uses: codecov/codecov-action@v3
with:
directory: ${{ github.workspace }}/build/reports/jacoco/coverage
Expand Down Expand Up @@ -113,7 +112,7 @@ jobs:
cypress:
name: Cypress frontend tests
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- name: Checkout repository
Expand Down Expand Up @@ -157,7 +156,7 @@ jobs:
run: chmod +x gradlew

- name: Set up environment
run: sudo apt-get install -y libgtk2.0-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2
run: sudo apt-get install libgtk2.0-0t64 libgtk-3-0t64 libgbm-dev libnotify-dev libnss3 libxss1 libasound2t64 libxtst6 xauth xvfb

- name: Run frontend tests
run: ./gradlew frontendTest -Pci

0 comments on commit 7eb104c

Please sign in to comment.