@@ -170,7 +170,7 @@ jobs:
170170 with :
171171 pyproject-path : ./test-fixtures/requirements-out-of-sync/pyproject.toml
172172 requirements-path : ./test-fixtures/requirements-out-of-sync/requirements.txt
173- requirements-command : uv sync --directory ./test-fixtures/requirements-out-of-sync
173+ requirements-command : uv pip compile ./test-fixtures/requirements-out-of-sync/pyproject.toml -o ./test-fixtures/requirements-out-of-sync/requirements.txt
174174 - name : Assert action failed
175175 run : |
176176 if [[ "${{ steps.action_step.outcome }}" == "success" ]]; then
@@ -245,7 +245,7 @@ jobs:
245245 with :
246246 pyproject-path : ./test-fixtures/uv-lock-out-of-sync/pyproject.toml
247247 requirements-path : ./test-fixtures/uv-lock-out-of-sync/requirements.txt
248- requirements-command : uv sync --directory ./test-fixtures/uv-lock-out-of-sync
248+ requirements-command : uv pip compile ./test-fixtures/uv-lock-out-of-sync/pyproject.toml -o ./test-fixtures/uv-lock-out-of-sync/requirements.txt
249249 - name : Assert action failed
250250 run : |
251251 if [[ "${{ steps.action_step.outcome }}" == "success" ]]; then
@@ -254,3 +254,23 @@ jobs:
254254 else
255255 echo "Action failed as expected."
256256 fi
257+
258+ test-python-version-tilde :
259+ runs-on : ubuntu-latest
260+ steps :
261+ - uses : actions/checkout@v4
262+ - name : Install uv
263+ run : |
264+ curl -LsSf https://astral.sh/uv/install.sh | sh
265+ export PATH="$HOME/.local/bin:$PATH"
266+ - name : Debug - List test-fixtures/python-version-tilde
267+ run : |
268+ pwd
269+ ls -l ./test-fixtures/python-version-tilde
270+ cat ./test-fixtures/python-version-tilde/pyproject.toml
271+ - name : Run action
272+ id : action_step
273+ uses : ./
274+ with :
275+ pyproject-path : ./test-fixtures/python-version-tilde/pyproject.toml
276+ requirements-command : uv sync --directory ./test-fixtures/python-version-tilde
0 commit comments