Skip to content

Commit 7602167

Browse files
committed
ci: add macos-latest target
1 parent f1f6854 commit 7602167

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,14 @@ jobs:
88
matrix:
99
os:
1010
- ubuntu-latest
11-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
11+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
1212
include:
1313
- python-version: '3.7'
1414
os: ubuntu-22.04
15+
- python-version: '3.12'
16+
os: macos-latest
17+
- python-version: '3.12'
18+
os: windows-latest
1519
fail-fast: false
1620
runs-on: ${{ matrix.os }}
1721
env:
@@ -38,9 +42,16 @@ jobs:
3842
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ env.cache-revision }}
3943
- name: Download minio on cache miss
4044
if: steps.cache-minio.outputs.cache-hit != 'true'
45+
env:
46+
minio-bin-url: |-
47+
${{
48+
matrix.os == 'macos-latest' && 'https://dl.min.io/server/minio/release/darwin-arm64/minio'
49+
|| matrix.os == 'windows-latest' && 'https://dl.min.io/server/minio/release/windows-amd64/minio.exe'
50+
|| 'https://dl.minio.io/server/minio/release/linux-amd64/minio'
51+
}}
4152
run: |
4253
mkdir -p ~/cache
43-
test ! -e ~/cache/minio && wget -O ~/cache/minio https://dl.minio.io/server/minio/release/linux-amd64/minio || echo "Minio already in cache"
54+
test ! -e ~/cache/minio && wget -O ~/cache/minio ${{ env.minio-bin-url }} || echo "Minio already in cache"
4455
- name: Start a local instance of minio
4556
run: |
4657
export MINIO_ROOT_USER=Q3AM3UQ867SPQQA43P2F

0 commit comments

Comments
 (0)