update supported python versions #791
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- python: "3.9" | |
psycopg: "psycopg2" | |
- python: "3.13" | |
psycopg: "psycopg3" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
allow-prereleases: true | |
- name: Install tox | |
run: pip install tox | |
- name: Add fr_FR and zh_TW for test purposes | |
run: | | |
sudo locale-gen fr_FR zh_TW.EUC-TW | |
sudo update-locale | |
- name: Test | |
run: tox -e py-${{ matrix.psycopg }} |