Skip to content

Commit e1dc87c

Browse files
committed
build: support uv.lock
1 parent 7483c4a commit e1dc87c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vars/runJenkinsPipeline.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def call(){
257257
sh( label: 'Running Tox',
258258
script: """python3 -m venv venv && venv/bin/pip install --disable-pip-version-check uv
259259
./venv/bin/uv python install cpython-${version}
260-
./venv/bin/uv run --only-group tox --with tox-uv --isolated tox run -e ${toxEnv}
260+
./venv/bin/uv run --only-group tox --with tox-uv --isolated tox run --runner uv-venv-lock-runner -e ${toxEnv}
261261
"""
262262
)
263263
} catch(e) {
@@ -332,7 +332,7 @@ def call(){
332332
retry(3){
333333
bat(label: 'Running Tox',
334334
script: """venv\\Scripts\\uv python install cpython-${version}
335-
venv\\Scripts\\uv run --only-group tox --with tox-uv --isolated tox run -e ${toxEnv}
335+
venv\\Scripts\\uv run --only-group tox --with tox-uv --isolated tox run --runner uv-venv-lock-runner -e ${toxEnv}
336336
"""
337337
)
338338
}

0 commit comments

Comments
 (0)