Skip to content

Commit

Permalink
CI: run tests on macOS 13 runner (#1715)
Browse files Browse the repository at this point in the history
  • Loading branch information
messense authored Aug 6, 2023
1 parent 2fef1f6 commit e627ed4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
env:
OS_MATRIX: |
- ubuntu-latest
- macos-latest
- macos-13
- windows-latest
PYTHON_VERSION: |
- '3.7'
Expand Down Expand Up @@ -103,6 +103,7 @@ jobs:
with:
auto-activate-base: "false"
activate-environment: ""
miniconda-version: "latest"
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -119,10 +120,10 @@ jobs:
- name: Install cargo-nextest
uses: taiki-e/install-action@nextest
- name: Install aarch64-apple-darwin Rust target
if: matrix.os == 'macos-latest'
if: startsWith(matrix.os, 'macos')
run: rustup target add aarch64-apple-darwin
- name: Setup Xcode env
if: matrix.os == 'macos-latest'
if: startsWith(matrix.os, 'macos')
shell: bash
run: |
set -ex
Expand All @@ -136,7 +137,7 @@ jobs:
# Install gnu-tar because BSD tar is buggy
# https://github.com/actions/cache/issues/403
- name: Install GNU tar (Macos)
if: matrix.os == 'macos-latest'
if: startsWith(matrix.os, 'macos')
run: |
brew install gnu-tar
echo "/usr/local/opt/gnu-tar/libexec/gnubin" >> $GITHUB_PATH
Expand Down Expand Up @@ -398,7 +399,7 @@ jobs:
strategy:
fail-fast: ${{ !contains(github.event.pull_request.labels.*.name, 'CI-no-fail-fast') }}
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-13, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
Expand Down

0 comments on commit e627ed4

Please sign in to comment.