boost-dx-tutorial/.woodpecker/workflow.yaml

22 lines
504 B
YAML
Raw Normal View History

when:
- event: push
branch: main
steps:
- name: lint
image: pipelinecomponents/ruff
commands:
- ruff check src
- name: test
2024-11-21 20:15:31 +01:00
image: python:3.13-slim
environment:
PYTHONDEVMODE: 1
DJANGO_SETTINGS_MODULE: dx.settings
DJANGO_CONFIGURATION: Dev
commands:
- python -m venv --upgrade-deps --without-scm-ignore-files venv
- /bin/bash -c "source venv/bin/activate"
- python -m pip install -r requirements/test.txt
- python -m pytest