Skip to content
Snippets Groups Projects
Verified Commit 9d32778a authored by Lars Bilke's avatar Lars Bilke
Browse files

Added basic python jobs.

parents
Branches main
No related tags found
No related merge requests found
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
default:
cache:
paths:
- .cache/pip
- .venv
before_script:
- python -m venv .venv
- source .venv/bin/activate
- pip install -e ".[test]"
build:
script:
- pyproject-build
lint:
script:
- ruff check .
tests:
script:
- coverage run -m pytest
- coverage report
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment