From 6956c675d2c6a46158c1d34d8e4f32b2537cba7b Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Wed, 11 Oct 2023 15:12:25 -0400 Subject: [PATCH 1/3] ENH: Add macOS ARM support in CI xref: https://github.com/actions/runner-images/pull/8414 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8e3e8fb..734b240 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: strategy: max-parallel: 5 matrix: - os: [ubuntu-22.04, windows-2022, macos-12] + os: [ubuntu-22.04, windows-2022, macos-12, macos-14] python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: From cc121ccdc8d597d04273c1371ee8fe32ce793485 Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Thu, 18 Jul 2024 21:41:07 -0400 Subject: [PATCH 2/3] ENH: Bump actions/checkout, actionss/setup-python --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 734b240..ee2ba7e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,9 +12,9 @@ jobs: python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies From 1ce9b1a8cb48b083d25f2489137928efe3342659 Mon Sep 17 00:00:00 2001 From: Matt McCormick Date: Fri, 19 Jul 2024 11:19:06 -0400 Subject: [PATCH 3/3] BUG: Skip Python 3.8 for macOS ARM in CI Not available --- .github/workflows/test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ee2ba7e..a08fd07 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,13 +18,16 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Install dependencies + if: ${{ matrix.os != 'mac-14' && matrix.package == '3.8' }} run: | python -m pip install --upgrade pip python -m pip install -e ".[test]" - name: Test with pytest + if: ${{ matrix.os != 'mac-14' && matrix.package == '3.8' }} run: | pytest --junitxml=junit/test-results.xml - name: Publish Test Report + if: ${{ matrix.os != 'mac-14' && matrix.package == '3.8' }} uses: mikepenz/action-junit-report@v2 with: report_paths: 'junit/test-results*.xml'