Skip to content

Commit

Permalink
Use pipx install -e instead of pip install -e for better isolation
Browse files Browse the repository at this point in the history
  • Loading branch information
maresb committed Sep 14, 2024
1 parent d401a3e commit 6c0a008
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -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
Expand Down Expand Up @@ -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}
Expand All @@ -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:
Expand Down

0 comments on commit 6c0a008

Please sign in to comment.