From abbd25d8fc4675b3d93057eaf3b6dccb89196e50 Mon Sep 17 00:00:00 2001 From: Praising Harris Ratnam Date: Fri, 9 Oct 2026 16:17:42 +0530 Subject: [PATCH] ci: test supported Python versions --- .github/workflows/tests.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7c5212b..67655cd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,16 +11,20 @@ permissions: jobs: tests: - name: Python tests + name: Python tests (${{ matrix.python-version }}) runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: - python-version: "3.11" + python-version: ${{ matrix.python-version }} - name: Install test dependencies run: python -m pip install pytest - name: Run tests - run: pytest -q tests/ + run: python -m pytest -q tests/