Skip to content

Commit 8bdd012

Browse files
authored
Add test for python-version (#177)
1 parent 5f42d5a commit 8bdd012

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ jobs:
118118
uses: ./
119119
- run: uv tool install ruff
120120
- run: ruff --version
121-
122121
test-tilde-expansion-tool-dirs:
123122
runs-on: selfhosted-ubuntu-arm64
124123
steps:
@@ -138,4 +137,21 @@ jobs:
138137
echo "UV_TOOL_DIR does not contain /home/ubuntu/tool-dir: $UV_TOOL_DIR"
139138
exit 1
140139
fi
141-
140+
test-python-version:
141+
runs-on: ubuntu-latest
142+
strategy:
143+
matrix:
144+
python-version: ["3.12", "3.13t"]
145+
steps:
146+
- uses: actions/checkout@v4
147+
- name: Install latest version
148+
uses: ./
149+
with:
150+
python-version: ${{ matrix.python-version }}
151+
- name: Verify UV_PYTHON is set to correct version
152+
run: |
153+
if [ "$UV_PYTHON" != "${{ matrix.python-version }}" ]; then
154+
exit 1
155+
fi
156+
- run: uv sync
157+
working-directory: __tests__/fixtures/uv-project

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy