From 347a9d3a9805dc74663d7d355b0ed8c4e123d08d Mon Sep 17 00:00:00 2001 From: Saransh Chopra Date: Sun, 22 Dec 2024 18:59:12 +0100 Subject: [PATCH] ci: fix coverage + minor touch ups --- .github/workflows/test.yml | 5 ++--- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ea3c82c..db53f5b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: @@ -21,8 +21,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install hatch - pip install . + pip install "coverage[toml]" - name: Lint with ruff run: | hatch run dev:check diff --git a/pyproject.toml b/pyproject.toml index 28bbd49..38ff267 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "bpx" dynamic = ["version"] description = "An implementation of the Battery Parameter eXchange (BPX) format in Pydantic." readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.9, <3.13" license = { file = "LICENSE.txt" } keywords = [ "bpx",