File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
python-project-template/.github/workflows Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 5353 uv venv venv
5454 source venv/bin/activate
5555 {% - if test_lowest_version == 'direct' %}
56- if [ -f requirements.txt ]; then
57- uv pip compile --resolution=lowest-direct -o requirements_lowest.txt pyproject.toml --build-constraints=requirements.txt
58- else
59- uv pip compile --resolution=lowest-direct -o requirements_lowest.txt pyproject.toml
56+ uv pip compile --resolution=lowest-direct -o requirements_lowest.txt pyproject.toml
6057 {% - elif test_lowest_version == 'all' %}
61- if [ -f requirements.txt ]; then
62- uv pip compile --resolution=lowest -o requirements_lowest.txt pyproject.toml --build-constraints=requirements.txt
63- else
64- uv pip compile --resolution=lowest -o requirements_lowest.txt pyproject.toml
65- fi
58+ uv pip compile --resolution=lowest -o requirements_lowest.txt pyproject.toml
6659 {% - endif %}
6760 uv pip install --constraint=requirements_lowest.txt -e .[dev]
6861 - name: Run unit tests with pytest
You can’t perform that action at this time.
0 commit comments