Commit 029eb02 1 parent e22abe8 commit 029eb02 Copy full SHA for 029eb02
File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 21
21
python-version : " 3.11"
22
22
23
23
- name : Install dependencies
24
- run : UV=`which uv` && make install
24
+ run : UV=`which uv` && PIP=`which pip` && make install
25
25
26
26
- name : Run pylint
27
27
run : |
Original file line number Diff line number Diff line change 25
25
python-version : ${{ matrix.python-version }}
26
26
27
27
- name : Install dependencies
28
- run : UV=`which uv` && make install
28
+ run : UV=`which uv` && PIP=`which pip` && make install
29
29
30
30
- name : Test with python ${{ matrix.python-version }}
31
31
run : uv run --frozen pytest ./tests --cov-branch --cov-report term --cov-fail-under=80 --cov=wurzel/
Original file line number Diff line number Diff line change 5
5
SRC_DIR = ./wurzel
6
6
TEST_DIR = ./tests
7
7
VENV = .venv
8
- UV =? $(VENV ) /bin/uv
8
+ UV? = $(VENV ) /bin/uv
9
9
PY =$(VENV ) /bin/python
10
+ PIP? =$(VENV ) /bin/pip
10
11
build : install
11
12
$(PY ) -m build .
12
13
@@ -17,7 +18,7 @@ $(VENV)/touchfile: pyproject.toml $(UV)
17
18
$(PY ) :
18
19
python3.11 -m venv $(VENV )
19
20
$(UV ) : $(PY )
20
- $(VENV ) /bin/pip install uv
21
+ $(PIP ) install uv
21
22
install : $(VENV ) /touchfile
22
23
23
24
test : install
You can’t perform that action at this time.
0 commit comments