From e49485a8230eb3a867cbd84c9fe9568b4394a5da Mon Sep 17 00:00:00 2001 From: Quigley Malcolm Date: Fri, 14 Jul 2023 12:57:25 -0700 Subject: [PATCH] Update test CI workflow to run tests on python 3.8-3.11 --- .github/workflows/ci-pytest.yaml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-pytest.yaml b/.github/workflows/ci-pytest.yaml index 2eaa0329..20c9bcaa 100644 --- a/.github/workflows/ci-pytest.yaml +++ b/.github/workflows/ci-pytest.yaml @@ -10,11 +10,21 @@ on: - synchronize jobs: - pre-commit: - name: Run Python Tests + pytest: + name: Run Tests / Python ${{ matrix.python-version }} + + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10", "3.11"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: ./.github/actions/setup-python-env + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install Hatch + shell: bash + run: pip3 install hatch - name: Run Python Tests run: hatch run dev-env:pytest tests