fixes
This commit is contained in:
parent
64caf4d379
commit
76e85baf83
2 changed files with 17 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ stages:
|
||||||
|
|
||||||
.venv-job:
|
.venv-job:
|
||||||
before_script:
|
before_script:
|
||||||
- uv venv -p 3.12 .venv
|
- uv venv -p 3.12 --clear .venv
|
||||||
- source .venv/bin/activate
|
- source .venv/bin/activate
|
||||||
- uv pip install -r requirements-dev.txt
|
- uv pip install -r requirements-dev.txt
|
||||||
cache:
|
cache:
|
||||||
|
|
@ -32,6 +32,7 @@ lint:flakes:
|
||||||
- uv pip install flake8
|
- uv pip install flake8
|
||||||
- flake8 $(git ls-files|grep py$)
|
- flake8 $(git ls-files|grep py$)
|
||||||
|
|
||||||
|
|
||||||
# lint:ruff:
|
# lint:ruff:
|
||||||
# stage: lint
|
# stage: lint
|
||||||
# only:
|
# only:
|
||||||
|
|
@ -53,5 +54,19 @@ test:test:
|
||||||
only:
|
only:
|
||||||
- pushes
|
- pushes
|
||||||
extends: .venv-job
|
extends: .venv-job
|
||||||
|
variables:
|
||||||
|
PYTHONDONTWRITEBYTECODE: 1
|
||||||
|
PYTHONUNBUFFERED: 1
|
||||||
script:
|
script:
|
||||||
- tox
|
- tox
|
||||||
|
coverage: '/TOTAL.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
|
||||||
|
artifacts:
|
||||||
|
when: always
|
||||||
|
paths:
|
||||||
|
- junit.xml
|
||||||
|
- coverage.xml
|
||||||
|
reports:
|
||||||
|
junit: junit.xml
|
||||||
|
coverage_report:
|
||||||
|
coverage_format: cobertura
|
||||||
|
path: coverage.xml
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ For the full list of built-in configuration values, see the
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import sphinx_rtd_theme
|
# import sphinx_rtd_theme
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue