boost-dx-tutorial/.woodpecker/workflow.yaml
bronsen c88868a95c
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
[CI] --upgrade-deps did not do what I expected, so we update pip ourselves
2024-11-21 20:45:00 +01:00

23 lines
578 B
YAML

when:
- event: push
branch: main
steps:
- name: lint
image: pipelinecomponents/ruff
commands:
- ruff check src
- name: test
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
- 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
- python -m pytest