Add tests running on macos-14 with m1 (#169)

* Add tests running on macos-14 with m1

* Run macos setup steps on macos-14 with m1
This commit is contained in:
David Dworken 2024-02-04 10:55:11 -08:00 committed by GitHub
parent 2b39cad633
commit 212c24c30c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, macos-latest] os: [ubuntu-latest, macos-latest, macos-14]
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -35,7 +35,7 @@ jobs:
# Set a consistent hostname so we can run tests that depend on it # Set a consistent hostname so we can run tests that depend on it
sudo hostname ghaction-runner-hostname sudo hostname ghaction-runner-hostname
- name: MacOS Setup - name: MacOS Setup
if: ${{ matrix.os == 'macos-latest'}} if: ${{ matrix.os == 'macos-latest' || matrix.os == 'macos-14' }}
run: | run: |
# Install our dependencies # Install our dependencies
@ -44,7 +44,7 @@ jobs:
# Set a consistent hostname so we can run tests that depend on it # Set a consistent hostname so we can run tests that depend on it
sudo scutil --set HostName ghaction-runner-hostname sudo scutil --set HostName ghaction-runner-hostname
- name: MacOS Docker Setup - name: MacOS Docker Setup
if: ${{ matrix.os == 'macos-latest'}} if: ${{ matrix.os == 'macos-latest' || matrix.os == 'macos-14'}}
continue-on-error: true continue-on-error: true
run: | run: |
# Install docker so it can be used for datadog # Install docker so it can be used for datadog