Skip to content

Commit

Permalink
CI: Use uv's resolution=lowest strategy in one of the jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Dec 19, 2024
1 parent 391a7df commit 655af1b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ jobs:
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
aiida-version-spec: ['>=2.5']
# Include a job with minimum supported aiida-version
resolution: ['highest']
# Include a job with minimum supported aiida-version,
# achieved via uv's resolution strategy
include:
- python-version: '3.9'
aiida-version-spec: '==2.1'
resolution: 'lowest-direct'
fail-fast: false

services:
Expand Down Expand Up @@ -55,7 +56,7 @@ jobs:
with:
version: ${{ env.UV_VER }}
- name: Install package
run: uv pip install --system -e .[tests] "aiida-core${{ matrix.aiida-version-spec }}"
run: uv pip install --resolution ${{ matrix.resolution }} --system -e .[tests]

- name: Run test suite
env:
Expand Down

0 comments on commit 655af1b

Please sign in to comment.