Files
blog.pyaqa.ru/.woodpecker/test_pipeline.yaml
Sergey Vanyushkin 7cd0d8c229
Some checks failed
ci/woodpecker/push/python_lints Pipeline failed
ci/woodpecker/push/test_pipeline Pipeline failed
pipeline updated
2026-04-19 14:07:31 +03:00

20 lines
432 B
YAML

when:
- event: push
branch: main
- event: pull_request
branch: main
steps:
- name: install
image: python:3.11-slim
commands:
- pip install --upgrade pip
- pip install pytest pytest-cov coverage
- if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: test
image: python:3.11-slim
commands:
- pytest --cov=src --cov-report=term --cov-report=xml tests/