File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6262 # Install dependencies
6363 - name : Install dependencies
6464 run : |
65- make install-dev-deps
65+ make install-dev-deps PYTHON_VERSION=${{ matrix.python-version }}
6666 uv cache prune --ci
6767 source .venv/bin/activate
6868 # Runs a single command using the runners shell
@@ -111,7 +111,7 @@ jobs:
111111 ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}
112112 - name : Install dependencies
113113 run : |
114- make install-dev-deps
114+ make install-dev-deps PYTHON_VERSION=${{ matrix.python-version }}
115115 uv cache prune --ci
116116 source .venv/bin/activate
117117 - name : Test PyElastica using pytest
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ __pycache__/
77* .so
88
99* .swp
10+ .vscode
1011
1112# Distribution / packaging
1213.Python
Original file line number Diff line number Diff line change 22PYTHON := python3
33PYTHONPATH := ` pwd `
44AUTOFLAKE_ARGS := -r
5+ PYTHON_VERSION :=
56
67# * Installation
78.PHONY : install
89install :
10+ ifdef PYTHON_VERSION
11+ uv sync --python $(PYTHON_VERSION)
12+ else
913 uv sync
14+ endif
1015
1116.PHONY : install-dev-deps
1217install-dev-deps :
18+ ifdef PYTHON_VERSION
19+ uv sync --all-groups --all-extras --python $(PYTHON_VERSION)
20+ else
1321 uv sync --all-groups --all-extras
22+ endif
1423
1524
1625.PHONY : build
You can’t perform that action at this time.
0 commit comments