From e261da435f94fc11f32400593ba68c2db2398238 Mon Sep 17 00:00:00 2001 From: Florian Schanda Date: Sat, 16 Sep 2023 19:23:05 +0200 Subject: [PATCH] Use matrix build to test with all supported python versions --- .github/workflows/test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d5dce290..d4e563a4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,15 +11,18 @@ permissions: jobs: build: + strategy: + matrix: + py-version: ["3.8", "3.9", "3.10", "3.11"] runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 - - name: Set up Python 3.8 + - name: Set up Python ${{ matrix.py-version }} uses: actions/setup-python@v3 with: - python-version: "3.8" + python-version: ${{ matrix.py-version }} - name: Install dependencies run: | python -m pip install --upgrade pip