From a26eb9efb46dbbb950e3f30fd01e332c64ea8efb Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 13 Oct 2023 09:49:41 -0400 Subject: [PATCH] Add matrix on python version to testing workflow We need to stick with 3.10 as minimal but eventually would add 3.11 into testing. --- .github/workflows/pytest.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index dae1e62..4c7ef41 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -16,6 +16,13 @@ env: jobs: pytest: runs-on: ubuntu-latest + strategy: + matrix: + python: + - '3.10' + # 3.11 needs more work + #- '3.11' + #- '3.12' steps: - name: Configure environment run: | @@ -28,10 +35,10 @@ jobs: with: fetch-depth: 0 - - name: Setup Python 3.10 + - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: ${{ matrix.python }} - name: Create venv and poetry build run: |