Merge pull request #4 from snegov/claude/fix-github-actions-python-versions-011CUyaqGCtZoDZVxANHBu2n

Fix GitHub Actions Python version testing
This commit is contained in:
Maks Snegov 2025-11-09 20:55:42 -08:00 committed by GitHub
commit 6fd6051642
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,21 +3,23 @@ name: Run tests
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
test:
runs-on: ubuntu-latest
container:
image: python:${{ matrix.python-version }}
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Run tests
run: |
python -m pytest -v