From 4d54ea04c01383432695d398df3a0b7171babe1e Mon Sep 17 00:00:00 2001 From: Maciej Olko Date: Sat, 11 Mar 2023 17:02:54 +0100 Subject: [PATCH] Add matrix strategy to test with all supported Python versions --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6ae5953..6982204 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,6 +9,9 @@ jobs: build_doc: name: Build CPython documentation runs-on: ubuntu-latest + strategy: + matrix: + version: [3.7, 3.8, 3.9, '3.10', 3.11] steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 @@ -32,7 +35,7 @@ jobs: --skip-cache-invalidation --theme $(pwd) --language en - --branch 3.11 + --branch ${{ matrix.version }} - name: Upload uses: actions/upload-artifact@v3 with: