Include previous steps
This commit is contained in:
parent
04aff8fb1d
commit
3b6bfc639a
4 changed files with 48 additions and 16 deletions
21
.woodpecker/tests.yaml
Normal file
21
.woodpecker/tests.yaml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue