check-patroni/.github/workflows/tests.yml
benoit 7eb65ae903 Add python 3.11 to the tests and reduce version coverage
* Add python 3.11 to the test environnements
* Use only the oldest and latest versions for github workfkows
2023-03-20 15:04:37 +01:00

23 lines
447 B
YAML

name: Tests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python: "3.7"
- python: "3.11"
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install tox
run: pip install tox
- name: Test
run: tox -e py