From 50e05881be9fb569742085505b78e439d3502236 Mon Sep 17 00:00:00 2001 From: Charlie Collett Date: Sun, 18 Aug 2024 19:29:09 -0700 Subject: [PATCH] Install all the dev dependencies first. --- .github/workflows/compatability-matrix.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/compatability-matrix.yml b/.github/workflows/compatability-matrix.yml index 645d26a..7fa732d 100644 --- a/.github/workflows/compatability-matrix.yml +++ b/.github/workflows/compatability-matrix.yml @@ -28,19 +28,19 @@ jobs: run: | python --version - - - name: Install Poetry + - name: Install locked dependencies run: | - pip install poetry + poetry install --with dev - - name: Install dependencies + - name: Update dependencies run: | if [[ "${{ matrix.update-strategy }}" == "none" ]]; then - poetry install --no-root + echo "Skipping updates as per the strategy" elif [[ "${{ matrix.update-strategy }}" == "minor" ]]; then poetry update elif [[ "${{ matrix.update-strategy }}" == "major" ]]; then - poetry up --latest + sed -i 's/\^/>=/g' pyproject.toml # Adjust constraints to allow major updates + poetry update fi - name: Run tests