Skip to content
Snippets Groups Projects
Commit e9602403 authored by Lorenzo  ZOLFANELLI's avatar Lorenzo ZOLFANELLI
Browse files

chore: start configuring cicd

parent 00f60403
No related branches found
No related tags found
No related merge requests found
Pipeline #121265 passed
image: python:latest
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
paths:
- .cache/pip
before_script:
- python --version ; pip --version # For debugging
- pip install virtualenv
- virtualenv venv
- source venv/bin/activate
test:
script:
- pip install pytest pytest-cov
- pip install --editable ".[test]"
- pytest --cov --cov-report term --cov-report xml:coverage.xml
coverage: '/(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/'
artifacts:
reports:
coverage_report:
coverage_format: cobertura
path: coverage.xml
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