# SPDX-FileCopyrightText: 2025 KUNBUS GmbH # # SPDX-License-Identifier: GPL-2.0-or-later default: tags: - self-hosted - host-arm64 - high-perf include: - project: "revolutionpi/infrastructure/ci-templates" file: "base.yml" - project: "revolutionpi/infrastructure/ci-templates" file: "check-commit/lint-commit.yml" - project: "revolutionpi/infrastructure/ci-templates" file: "reuse-lint.yml" - project: "revolutionpi/infrastructure/ci-templates" file: "package-devel.yml" - local: debian/gitlab-ci.yml rules: - exists: - debian/gitlab-ci.yml run_tests: stage: test image: python:3 script: - apt-get update - apt-get -y install dbus libgirepository1.0-dev - dbus-uuidgen --ensure=/etc/machine-id - pip install -r requirements.txt - PYTHONPATH=src dbus-run-session -- pytest -v --junitxml=report.xml --cov=src --cov-report term --cov-report xml:coverage.xml coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/' artifacts: reports: junit: ${CI_PROJECT_DIR}/report.xml coverage_report: coverage_format: cobertura path: coverage.xml