Skip to content

Commit b18ccd8

Browse files
committed
Revert "Updating testing-and-coverage to look for and include requirements.txt when running test-lowest-version."
This reverts commit a94a3fe.
1 parent a94a3fe commit b18ccd8

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

python-project-template/.github/workflows/testing-and-coverage.yml.jinja

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,9 @@ jobs:
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

0 commit comments

Comments
 (0)