From 6a487e951f5b61906cc63f34392a9d3d57342d1d Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 15 Dec 2023 20:00:20 +0100 Subject: [PATCH] Test on modern versions of CPython and PyPy and macOS (#362) Co-authored-by: Samuel FORESTIER --- .github/workflows/ci.yaml | 6 ++++++ .pre-commit-config.yaml | 2 +- tox.ini | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3b8e9b0..bc254f6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,11 +36,17 @@ jobs: - "3.8" - "3.9" - "3.10" + - "3.11" + - "3.12" include: - os: "ubuntu-20.04" python: "3.6" - os: "ubuntu-20.04" python: "pypy-3.6" + - os: "ubuntu-22.04" + python: "pypy-3.10" + - os: "macos-12" + python: 3.12 steps: - uses: actions/checkout@v4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ea0857c..95cbb41 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: - id: black args: ["--target-version", "py36"] - repo: https://github.com/PyCQA/flake8 - rev: 3.9.2 + rev: 6.1.0 hooks: - id: flake8 - repo: https://github.com/pycqa/isort diff --git a/tox.ini b/tox.ini index cc9dfc5..f080b5c 100644 --- a/tox.ini +++ b/tox.ini @@ -14,7 +14,7 @@ [tox] minversion = 1.9 -envlist = lint, py{36,37,38,39,310,py3} +envlist = lint, py{36,37,38,39,310,311,312,py3} isolated_build = true skip_missing_interpreters = true