check-patroni/.github/workflows/tests.yml
2023-03-02 17:32:18 +01:00

25 lines
499 B
YAML

name: Tests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- python: "3.7"
- python: "3.8"
- python: "3.9"
- python: "3.10"
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