boost-dx-tutorial/.woodpecker/workflow.yaml
2024-11-21 20:07:14 +01:00

18 lines
452 B
YAML

when:
- event: push
branch: main
steps:
- name: lint-and-test
image: python:3.13-buster
environment:
PYTHONDEVMODE: 1
DJANGO_SETTINGS_MODULE: dx.settings
DJANGO_CONFIGURATION: Dev
commands:
- python -m venv venv
- /bin/bash -c "source venv/bin/activate"
- python -m pip install --upgrade pip
- python -m pip install -r requirements/test.txt
- ruff check src
- python -m pytest