From 6c0a008e66fb99efc54623a3a9bb742d049c5985 Mon Sep 17 00:00:00 2001 From: Ben Mares Date: Sat, 14 Sep 2024 09:55:14 +0200 Subject: [PATCH] Use pipx install -e instead of pip install -e for better isolation --- .github/workflows/integration-test.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 069f9828..bf4dc43b 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -26,7 +26,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - python-version: [ "3.8" ] + python-version: [ "3.8", "3.12" ] defaults: run: shell: bash -el {0} @@ -50,7 +50,8 @@ jobs: python-version: ${{ matrix.python-version }} - name: install conda-lock run: | - pip install -e . + pip install pipx + pipx install -e . - name: run-test run: | conda-lock --log-level=DEBUG --mamba -f tests/gdal/environment.yml -p $CONDA_PLATFORM @@ -114,7 +115,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - python-version: [ "3.8" ] + python-version: [ "3.8", "3.12" ] defaults: run: shell: bash -el {0} @@ -126,7 +127,8 @@ jobs: python-version: ${{ matrix.python-version }} - name: install conda-lock run: | - pip install -e . + pip install pipx + pipx install -e . - name: Download lockfiles uses: actions/download-artifact@v4 with: