Skip to content

Commit e22abe8

Browse files
committed
set uv var in pipline
1 parent d6a00ca commit e22abe8

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

.github/workflows/lint.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
python-version: "3.11"
2222

2323
- name: Install dependencies
24-
run: make install-for-tests
24+
run: UV=`which uv` && make install
2525

2626
- name: Run pylint
2727
run: |

.github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
python-version: ${{ matrix.python-version }}
2626

2727
- name: Install dependencies
28-
run: UV=`which uv` && make install-for-tests
28+
run: UV=`which uv` && make install
2929

3030
- name: Test with python ${{ matrix.python-version }}
3131
run: uv run --frozen pytest ./tests --cov-branch --cov-report term --cov-fail-under=80 --cov=wurzel/

Makefile

-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,4 @@ documentation:
3535
reuse-lint:
3636
$(UV) run reuse lint
3737

38-
install-for-tests:
39-
uv sync --all-extras --dev
40-
uv pip install -r DIRECT_REQUIREMENTS.txt
4138

0 commit comments

Comments
 (0)