ci: move command line arguments into environment variables
This commit is contained in:
parent
13ba6c0f55
commit
e7ae259897
1 changed files with 6 additions and 1 deletions
|
|
@ -21,9 +21,14 @@ steps:
|
|||
|
||||
- name: Run Tests
|
||||
image: docker.io/astral/uv:python${PYTHON_VERSION}-trixie-slim
|
||||
environment:
|
||||
UV_LINK_MODE: copy
|
||||
PIP_DISABLE_PIP_VERSION_CHECK: true
|
||||
PIP_REQUIRE_VIRTUALENV: true
|
||||
PIP_QUIET: true
|
||||
commands:
|
||||
- python -m venv venv
|
||||
- . venv/bin/activate
|
||||
- pip install --disable-pip-version-check --require-virtualenv --quiet uv==0.10.2
|
||||
- pip install uv==0.10.2
|
||||
- uv run --active pytest tests.py
|
||||
# coverage: uv run pytest tests.py --cov-report= --cov=src # no cov report on terminal: useful for CI
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue