20 lines
492 B
YAML
20 lines
492 B
YAML
default:
|
|
tags:
|
|
- self-hosted
|
|
- host-arm64
|
|
- high-perf
|
|
|
|
run_tests:
|
|
stage: test
|
|
image: python:3
|
|
script:
|
|
- pip install -r requirements.txt
|
|
- PYTHONPATH=src 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
|