Add input version-file (#486)

Closes: #411
This commit is contained in:
Kevin Stillhammer
2025-07-17 20:22:18 +02:00
committed by GitHub
parent c893ac1cb2
commit b75ff7d7b8
13 changed files with 369 additions and 136 deletions

View File

@ -155,6 +155,22 @@ jobs:
exit 1
fi
test-version-file-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install from requirements file
id: setup-uv
uses: ./
with:
version-file: "__tests__/fixtures/uv-in-requirements-txt-project/requirements.txt"
- name: Correct version gets installed
run: |
if [ "$(uv --version)" != "uv 0.6.17" ]; then
echo "Wrong uv version: $(uv --version)"
exit 1
fi
test-checksum:
runs-on: ${{ matrix.inputs.os }}
strategy:
@ -561,6 +577,7 @@ jobs:
- test-pyproject-file-version
- test-malformed-pyproject-file-fallback
- test-uv-file-version
- test-version-file-version
- test-checksum
- test-with-explicit-token
- test-uvx