boost-dx-tutorial/.woodpecker/workflow.yaml
bronsen 5b121f9948
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
[ci] I can has python 3.12?
2024-11-21 20:08:00 +01:00

18 lines
452 B
YAML

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