Add support for configuration profiles #584
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.7" | |
psycopg: "psycopg2" | |
- python: "3.11" | |
psycopg: "psycopg3" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
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 }} |