Run tests with Python 3.9 in CI #773
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.12" | |
psycopg: "psycopg3" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- 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 }} |