newsreader/.woodpecker/tests.yaml
Sonny Bakker 3b6bfc639a
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/tests Pipeline failed
Include previous steps
2024-12-26 19:49:09 +01:00

21 lines
433 B
YAML

when:
- event: push
services:
- image: postgres:15
- image: memcached:1.5.22
steps:
- name: python tests
image: python:3.11
commands:
- pip install uv
- uv sync --extra testing --extra ci
- ./.venv/bin/coverage run ./src/manage.py test newsreader
- ./.venv/bin/coverage report --show-missing
- name: javascript tests
image: node:lts
commands:
- npm install
- npm test