Skip to content

Commit

Permalink
Add test for python-version (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
eifinger authored Nov 29, 2024
1 parent 5f42d5a commit 8bdd012
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ jobs:
uses: ./
- run: uv tool install ruff
- run: ruff --version

test-tilde-expansion-tool-dirs:
runs-on: selfhosted-ubuntu-arm64
steps:
Expand All @@ -138,4 +137,21 @@ jobs:
echo "UV_TOOL_DIR does not contain /home/ubuntu/tool-dir: $UV_TOOL_DIR"
exit 1
fi
test-python-version:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13t"]
steps:
- uses: actions/checkout@v4
- name: Install latest version
uses: ./
with:
python-version: ${{ matrix.python-version }}
- name: Verify UV_PYTHON is set to correct version
run: |
if [ "$UV_PYTHON" != "${{ matrix.python-version }}" ]; then
exit 1
fi
- run: uv sync
working-directory: __tests__/fixtures/uv-project

0 comments on commit 8bdd012

Please sign in to comment.