Skip to content

Commit

Permalink
switch over to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
caelean committed May 2, 2024
1 parent 2b55248 commit c74b1ef
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand All @@ -27,18 +27,24 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r dev-requirements.txt
pip install .
pip install uv
uv venv
source .venv/bin/activate
uv pip install -r dev-requirements.txt
uv pip install .
- name: Check ruff
run: |
source .venv/bin/activate
ruff check . --exclude tests
ruff format --check .
- name: Test with pytest and report coverage
run: |
source .venv/bin/activate
cd tests
coverage run --branch --source=../ -m pytest
coverage report
cd ..
- name: Enforce module boundaries/dependencies
run:
source .venv/bin/activate
tach check

0 comments on commit c74b1ef

Please sign in to comment.