Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,18 @@ jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
include:
# All Python versions against the latest PyBaMM
- {python-version: "3.10", pybamm-version: "26.4"}
- {python-version: "3.11", pybamm-version: "26.4"}
- {python-version: "3.12", pybamm-version: "26.4"}
- {python-version: "3.13", pybamm-version: "26.4"}
- {python-version: "3.14", pybamm-version: "26.4"}
# Older PyBaMM versions against the latest Python they support
- {python-version: "3.13", pybamm-version: "25.12"}
- {python-version: "3.14", pybamm-version: "26.3"}

steps:
- uses: actions/checkout@v4
Expand All @@ -38,7 +48,7 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install
run: pip install -e ".[test]" mypy
run: pip install -e ".[test]" mypy "pybamm==${{ matrix.pybamm-version }}"

- name: mypy
run: mypy src/pathsim_batt
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering",
]
dependencies = [
Expand Down
Loading
Loading