Skip to content

Commit

Permalink
Merge pull request conda#698 from maresb/isolate-integration-test
Browse files Browse the repository at this point in the history
Install conda-lock with pipx in integration tests for better isolation
  • Loading branch information
maresb authored Sep 14, 2024
2 parents ee61081 + 6c0a008 commit 1c4b833
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 1c4b833

Please sign in to comment.