Skip to content

Commit

Permalink
Add a test to the CI to test the min dependency versions (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryant1410 authored Jan 15, 2025
1 parent f72520d commit 561467c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
strategy:
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ]
resolution-strategy: [ 'highest' ]
include:
- python-version: '3.9'
resolution-strategy: 'lowest'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -24,6 +28,6 @@ jobs:
# We don't enable the cache, as it'd otherwise never install a newer version of the dependencies
# since we aren't checking in the lock file.
- name: Install the project
run: uv sync
run: uv sync --resolution ${{ matrix.resolution-strategy }}
- name: Test
run: uv run pytest --doctest-modules

0 comments on commit 561467c

Please sign in to comment.