From eabad943437ef8b5451637438fe2602c324bc3b4 Mon Sep 17 00:00:00 2001 From: Matthieu Darbois Date: Mon, 6 May 2024 17:51:22 +0200 Subject: [PATCH] chore(ci): use default action tests for macos-14 (#824) Python 3.8 & 3.9 are now supported. --- .github/workflows/action.yml | 10 +--------- noxfile.py | 16 ---------------- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 93757bf0..b60cbe87 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -27,6 +27,7 @@ jobs: macos-11, macos-12, macos-13, + macos-14, ] steps: - uses: actions/checkout@v4 @@ -44,12 +45,3 @@ jobs: with: python-versions: "3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, pypy-2.7, pypy-3.7, pypy-3.8, pypy-3.9, pypy-3.10" - run: nox --non-interactive --error-on-missing-interpreter --session github_actions_all_tests - - action-macos14-tests: - runs-on: macos-14 - steps: - - uses: actions/checkout@v4 - - uses: ./ - with: - python-versions: "3.10, 3.11, 3.12, pypy-3.8, pypy-3.9, pypy-3.10" - - run: nox --non-interactive --error-on-missing-interpreter --session github_actions_macos_14 diff --git a/noxfile.py b/noxfile.py index 075f5795..6f7af88c 100644 --- a/noxfile.py +++ b/noxfile.py @@ -217,19 +217,3 @@ def github_actions_default_tests(session: nox.Session) -> None: def github_actions_all_tests(session: nox.Session) -> None: """Check all versions installed by the nox GHA Action""" _check_python_version(session) - - -@nox.session( - python=[ - "3.10", - "3.11", - "3.12", - "pypy3.8", - "pypy3.9", - "pypy3.10", - ] -) -def github_actions_macos_14(session: nox.Session) -> None: - """Check default versions installed by the nox GHA Action""" - assert sys.version_info[:2] == (3, 11) - _check_python_version(session)