Skip to content

Commit d622464

Browse files
committed
fix CI
1 parent bd8e9b3 commit d622464

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
python-version: ["3.11", "3.12"]
14+
python-version: ["3.11"]
1515

1616
steps:
1717
- uses: actions/checkout@v4
@@ -28,13 +28,16 @@ jobs:
2828

2929
- name: Install dependencies
3030
run: |
31+
uv venv
32+
source .venv/bin/activate
3133
uv pip install -e ".[dev]"
3234
3335
- name: Lint with ruff
3436
run: |
35-
uv pip install ruff
37+
source .venv/bin/activate
3638
ruff check .
3739
3840
- name: Test with pytest
3941
run: |
42+
source .venv/bin/activate
4043
pytest tests/ -v --cov=autoDoc --cov-report=term-missing

0 commit comments

Comments
 (0)