From 76e85baf8389668a21a216c6767d05c749c03e85 Mon Sep 17 00:00:00 2001 From: Jonathan Harker Date: Thu, 26 Feb 2026 17:33:14 +1300 Subject: [PATCH] fixes --- .gitlab-ci.yml | 17 ++++++++++++++++- docs/source/conf.py | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b50e2f3..45e8604 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ stages: .venv-job: before_script: - - uv venv -p 3.12 .venv + - uv venv -p 3.12 --clear .venv - source .venv/bin/activate - uv pip install -r requirements-dev.txt cache: @@ -32,6 +32,7 @@ lint:flakes: - uv pip install flake8 - flake8 $(git ls-files|grep py$) + # lint:ruff: # stage: lint # only: @@ -53,5 +54,19 @@ test:test: only: - pushes extends: .venv-job + variables: + PYTHONDONTWRITEBYTECODE: 1 + PYTHONUNBUFFERED: 1 script: - 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 diff --git a/docs/source/conf.py b/docs/source/conf.py index 270dde4..fbd7952 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -5,7 +5,7 @@ For the full list of built-in configuration values, see the """ import sys -import sphinx_rtd_theme +# import sphinx_rtd_theme from pathlib import Path