From cb2055482076c988527fed5590bb7d2038e55083 Mon Sep 17 00:00:00 2001 From: Paola Petrelli Date: Thu, 8 Aug 2024 17:03:59 +1000 Subject: [PATCH] fixed pytest action --- .github/workflows/mopper-pytest.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/mopper-pytest.yaml b/.github/workflows/mopper-pytest.yaml index cb3fa56..14134cf 100644 --- a/.github/workflows/mopper-pytest.yaml +++ b/.github/workflows/mopper-pytest.yaml @@ -18,18 +18,20 @@ jobs: timeout-minutes: 60 strategy: max-parallel: 5 + matrix: + python-version: ["3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v4.1.7 - name: Set up Python 3.10 uses: actions/setup-python@v5.1.1 with: - python-version: '3.10' - - name: Install Miniconda - uses: conda-incubator/setup-miniconda@v3.0.4 - with: - auto-update-conda: true - python-version: ${{ matrix.python-version }} + python-version: ${{ matrix.python-version }} + - name: Install Miniconda + uses: conda-incubator/setup-miniconda@v3.0.4 + with: + auto-update-conda: true + python-version: ${{ matrix.python-version }} #- name: Add conda to system path # run: | # # $CONDA is an environment variable pointing to the root of the miniconda directory