20 lines
440 B
YAML
20 lines
440 B
YAML
python-tests:
|
|
stage: test
|
|
coverage: '/TOTAL\s+\d+\s+\d+\s+(\d+%)/'
|
|
services:
|
|
- postgres:11
|
|
- memcached:1.5.22
|
|
image: python:3.9-bullseye
|
|
before_script:
|
|
- pip install -r requirements/production.txt -r requirements/development.txt
|
|
script:
|
|
- ./src/manage.py test newsreader
|
|
- coverage report
|
|
|
|
javascript-tests:
|
|
stage: test
|
|
image: node:12-bullseye
|
|
before_script:
|
|
- npm install
|
|
script:
|
|
- npm test
|