From 5c5a9a75c7e4f0ebc9ea30864f4b3f88fbec7be0 Mon Sep 17 00:00:00 2001 From: Simon Perkins Date: Fri, 27 Oct 2023 09:43:22 +0200 Subject: [PATCH] Setup a poetry virtual environment correspond to the python version --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fdf0b545..236d92a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: - cron: '30 2 * * 1' # Every Monday @ 2h30am UTC env: - POETRY_VERSION: 1.2.1 + POETRY_VERSION: 1.6.1 MINIO_SERVER_DOWNLOAD_URL: https://dl.min.io/server/minio/release/linux-amd64/archive/minio_20230907020502.0.0_amd64.deb MINIO_CLIENT_DOWNLOAD_URL: https://dl.min.io/client/mc/release/linux-amd64/archive/mcli_20230907224855.0.0_amd64.deb @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - name: Create Cache Hash @@ -86,6 +86,9 @@ jobs: with: fetch-depth: 1 + - name: Setup a virtual environment appropriate to the python version + run: poetry env use python${{ matrix.python-version }} + - name: Install dask-ms base run: poetry install --extras "testing arrow zarr"