From c4f3667a803da1269628fee02ca9d5f2e11889f1 Mon Sep 17 00:00:00 2001 From: David Kane Date: Mon, 9 Oct 2023 00:42:21 +0100 Subject: [PATCH] use python 3.12 now it's released --- .github/workflows/run-tests.yml | 27 +++++++++++++-------------- pyproject.toml | 2 +- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index d71961c..a264fea 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -4,23 +4,22 @@ on: [push, pull_request] jobs: build: - runs-on: ubuntu-latest strategy: max-parallel: 4 matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12-dev"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - cache: pip - - name: Install dependencies - run: | - pip install -e . - pip install hatch - - name: Run tests - run: hatch run cov-fail + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + cache: pip + - name: Install dependencies + run: | + pip install -e . + pip install hatch + - name: Run tests + run: hatch run cov-fail diff --git a/pyproject.toml b/pyproject.toml index 9981105..52cfbe3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,7 +56,7 @@ cov-html = [ ] [[tool.hatch.envs.all.matrix]] -python = ["3.8", "3.9", "3.10", "3.11"] +python = ["3.8", "3.9", "3.10", "3.11", "3.12"] [tool.hatch.envs.docs] features = ["docs"]