19 lines
391 B
YAML
19 lines
391 B
YAML
python-tests:
|
|
stage: test
|
|
coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/'
|
|
services:
|
|
- postgres:15
|
|
- memcached:1.5.22
|
|
image: python:3.9-bullseye
|
|
before_script:
|
|
- pip install -r requirements/ci.txt
|
|
script:
|
|
- coverage run ./src/manage.py test newsreader
|
|
|
|
javascript-tests:
|
|
stage: test
|
|
image: node:16-bullseye
|
|
before_script:
|
|
- npm install
|
|
script:
|
|
- npm test
|