Update gitlab configuration

This commit is contained in:
Sonny Bakker 2023-06-26 20:25:36 +02:00
parent 720f6fdb78
commit 59f719d7c3
3 changed files with 10 additions and 10 deletions

View file

@ -1,7 +1,7 @@
static:
stage: build
image: node:12-bullseye
image: node:16-bookworm
before_script:
- npm install --quiet
- npm install
script:
- npm run build

View file

@ -1,8 +1,8 @@
python-linting:
stage: lint
image: python:3.9-bullseye
image: python:3.11-bookworm
before_script:
- pip install -r requirements/production.txt -r requirements/development.txt --quiet
- pip install -r requirements/ci.txt
script:
- isort src/ --check-only
- black src/ --line-length 88 --check
@ -14,9 +14,9 @@ python-linting:
javascript-linting:
stage: lint
image: node:12-bullseye
image: node:16-bookworm
before_script:
- npm install --quiet
- npm install
script:
- npm run lint
only:

View file

@ -4,16 +4,16 @@ python-tests:
services:
- postgres:15
- memcached:1.5.22
image: python:3.9-bullseye
image: python:3.11-bookworm
before_script:
- pip install -r requirements/production.txt -r requirements/development.txt --quiet
- pip install -r requirements/ci.txt
script:
- coverage run ./src/manage.py test newsreader
javascript-tests:
stage: test
image: node:12-bullseye
image: node:16-bookworm
before_script:
- npm install --quiet
- npm install
script:
- npm test