boost-dx-tutorial/.woodpecker/workflow.yaml
bronsen 05f39708b2
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
[CI] is it slim?
2024-11-21 20:15:31 +01:00

18 lines
450 B
YAML

when:
- event: push
branch: main
steps:
- name: lint-and-test
image: python:3.13-slim
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