Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add macos-latest target #1416

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ jobs:
matrix:
os:
- ubuntu-latest
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
include:
- python-version: '3.7'
os: ubuntu-22.04
- python-version: '3.12'
os: macos-latest
- python-version: '3.12'
os: windows-latest
fail-fast: false
runs-on: ${{ matrix.os }}
env:
Expand All @@ -38,9 +42,16 @@ jobs:
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ env.cache-revision }}
- name: Download minio on cache miss
if: steps.cache-minio.outputs.cache-hit != 'true'
env:
minio-bin-url: |-
${{
matrix.os == 'macos-latest' && 'https://dl.min.io/server/minio/release/darwin-arm64/minio'
|| matrix.os == 'windows-latest' && 'https://dl.min.io/server/minio/release/windows-amd64/minio.exe'
|| 'https://dl.minio.io/server/minio/release/linux-amd64/minio'
}}
run: |
mkdir -p ~/cache
test ! -e ~/cache/minio && wget -O ~/cache/minio https://dl.minio.io/server/minio/release/linux-amd64/minio || echo "Minio already in cache"
test ! -e ~/cache/minio && wget -O ~/cache/minio ${{ env.minio-bin-url }} || echo "Minio already in cache"
- name: Start a local instance of minio
run: |
export MINIO_ROOT_USER=Q3AM3UQ867SPQQA43P2F
Expand Down
Loading