Run tests on all supported Python versions.

This commit is contained in:
Martijn Pieters
2023-05-09 15:53:26 +01:00
parent 013be85f97
commit 94a02733c8

View File

@@ -2,12 +2,17 @@ name: ci
on: [ push, pull_request ] on: [ push, pull_request ]
jobs: jobs:
ci: ci:
strategy:
matrix:
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
name: "Test on Python ${{ matrix.python }}"
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
with: with:
python-version: "3.x" python-version: "${{ matrix.python }}"
- name: Install and configure Poetry - name: Install and configure Poetry
run: | run: |
pip install -U pip poetry pip install -U pip poetry