From 481017e6a21b0a1283c6b278534d69de10b625ac Mon Sep 17 00:00:00 2001 From: Hadar Shavit Date: Fri, 10 Jan 2025 12:11:35 +0100 Subject: [PATCH] Add matrix testing for unittest --- .github/workflows/unittest.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index e23bd866..f086a00b 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -7,6 +7,8 @@ jobs: runs-on: ubuntu-latest strategy: max-parallel: 5 + matrix: + python-version: ["3.10", "3.11", "3.12"] services: # Required for Slurm cluster mysql: image: mysql:8.0 @@ -27,7 +29,7 @@ jobs: echo $CONDA/bin >> $GITHUB_PATH - name: Install dependencies run: | - conda install -y python=3.10.14 # https://github.com/conda/conda/issues/13560#issuecomment-1992720842 + conda install -y python=${{ matrix.python-version }} # https://github.com/conda/conda/issues/13560#issuecomment-1992720842 conda env update --file dev-env.yml --name base - name: Install RunSolver dependencies run: |