From 94a02733c8251078c100861a162b56c786831cad Mon Sep 17 00:00:00 2001 From: Martijn Pieters Date: Tue, 9 May 2023 15:53:26 +0100 Subject: [PATCH] Run tests on all supported Python versions. --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3717be8..1205f21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,12 +2,17 @@ name: ci on: [ push, pull_request ] jobs: ci: + strategy: + matrix: + python: ["3.7", "3.8", "3.9", "3.10", "3.11"] + + name: "Test on Python ${{ matrix.python }}" runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: "3.x" + python-version: "${{ matrix.python }}" - name: Install and configure Poetry run: | pip install -U pip poetry