From 14f56672b210aecca56dc699b4f5c5c70c07a313 Mon Sep 17 00:00:00 2001 From: Dominic Davis-Foster Date: Tue, 23 Apr 2024 16:41:14 +0100 Subject: [PATCH] Run macOS tests on 13 not latest/14 --- repo_helper/files/ci_cd.py | 2 +- tests/test_files/test_ci_cd_/test_github_ci_case_2.yml | 4 ++-- tests/test_files/test_ci_cd_/test_github_ci_windows_38.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/repo_helper/files/ci_cd.py b/repo_helper/files/ci_cd.py index 64b1a643..803b8f0a 100644 --- a/repo_helper/files/ci_cd.py +++ b/repo_helper/files/ci_cd.py @@ -543,7 +543,7 @@ def get_mypy_requirements(self, platform: str) -> List[str]: platform_ci_names = { "Windows": "windows-2019", - "macOS": "macos-latest", + "macOS": "macos-13", "Linux": "ubuntu-20.04", } """ diff --git a/tests/test_files/test_ci_cd_/test_github_ci_case_2.yml b/tests/test_files/test_ci_cd_/test_github_ci_case_2.yml index ece350fd..ee71c5d9 100644 --- a/tests/test_files/test_ci_cd_/test_github_ci_case_2.yml +++ b/tests/test_files/test_ci_cd_/test_github_ci_case_2.yml @@ -18,8 +18,8 @@ permissions: jobs: tests: - name: "macos-latest / Python ${{ matrix.config.python-version }}" - runs-on: "macos-latest" + name: "macos-13 / Python ${{ matrix.config.python-version }}" + runs-on: "macos-13" continue-on-error: ${{ matrix.config.experimental }} env: USING_COVERAGE: '3.6,3.7' diff --git a/tests/test_files/test_ci_cd_/test_github_ci_windows_38.yml b/tests/test_files/test_ci_cd_/test_github_ci_windows_38.yml index ece350fd..ee71c5d9 100644 --- a/tests/test_files/test_ci_cd_/test_github_ci_windows_38.yml +++ b/tests/test_files/test_ci_cd_/test_github_ci_windows_38.yml @@ -18,8 +18,8 @@ permissions: jobs: tests: - name: "macos-latest / Python ${{ matrix.config.python-version }}" - runs-on: "macos-latest" + name: "macos-13 / Python ${{ matrix.config.python-version }}" + runs-on: "macos-13" continue-on-error: ${{ matrix.config.experimental }} env: USING_COVERAGE: '3.6,3.7'