From 10751fe9ba1459828810c0eb25420421c02d39ff Mon Sep 17 00:00:00 2001 From: Denys Zhdanov Date: Fri, 19 Jan 2024 12:42:29 +0100 Subject: [PATCH] Adding Python 3.12 --- .github/workflows/tests.yml | 9 ++++++--- tox.ini | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9044d66..c0fe574 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -34,6 +34,9 @@ jobs: - name: "Python 3.11" python-version: '3.11' toxenv: 'py3' + - name: "Python 3.12" + python-version: '3.12' + toxenv: 'py3' steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} @@ -51,19 +54,19 @@ jobs: run: | tox - name: Linting - if: ${{ matrix.python-version==3.11 }} + if: ${{ matrix.python-version==3.12 }} env: TOXENV: lint run: | tox - name: Run Codecov - if: ${{ matrix.python-version==3.11 }} + if: ${{ matrix.python-version==3.12 }} env: TOXENV: lint run: | pip install codecov codecov - name: Upload coverage to Codecov - if: ${{ matrix.python-version==3.11 }} + if: ${{ matrix.python-version==3.12 }} uses: codecov/codecov-action@v3 diff --git a/tox.ini b/tox.ini index 99c6c47..4ad06ec 100644 --- a/tox.ini +++ b/tox.ini @@ -9,6 +9,7 @@ envlist = py39, py310, py311, + py312, pypy, pypy3, lint,