Update the GitHub Actions checkout and setup-python versions to v4 and v5 respectively. Add Python 3.13 to the testing matrix in both the workflow and pyproject.toml to ensure compatibility with the latest Python release.
22 lines
450 B
YAML
22 lines
450 B
YAML
name: tests
|
|
on: [pull_request]
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install Hatch
|
|
run: pipx install hatch
|
|
|
|
- name: Run tests
|
|
run: hatch test
|