Skip to content
Snippets Groups Projects
Verified Commit e98b2a90 authored by Andreas Ellewsen's avatar Andreas Ellewsen
Browse files

Fix broken ci pipeline

Force clean up of the virtual env before update and use python3.10
everywhere
parent a585d9c7
No related branches found
No related tags found
1 merge request!317Fix various warnings from tests
Pipeline #131535 passed
This commit is part of merge request !317. Comments created here will be created in the context of that merge request.
image: python:3.9-buster
image: python:3.10-buster
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
......@@ -15,15 +15,16 @@ stages:
update:
before_script:
- python -V
image: python:3.9-buster
image: python:3.10-buster
stage: venv update
script:
- make clean
- make install
backend lint:
before_script:
- python -V
image: python:3.9-buster
image: python:3.10-buster
stage: tests and linting
script:
- make lint
......@@ -31,7 +32,7 @@ backend lint:
backend test:
before_script:
- python -V
image: python:3.9-buster
image: python:3.10-buster
stage: tests and linting
script:
- make test
......@@ -42,7 +43,7 @@ backend test:
backend build:
before_script:
- python -V
image: python:3.9-buster
image: python:3.10-buster
stage: tests and linting
script:
- pip install poetry
......@@ -56,8 +57,7 @@ frontend test:
- npm install -g npm@latest
- npm ci
- npm run coverage:ci
coverage:
'/All files[^|]*\|[^|]*\s+([\d\.]+)/'
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
frontend lint:
image: node:16-alpine
......@@ -75,5 +75,5 @@ frontend build:
- cd frontend
- npm install -g npm@latest
- NODE_ENV=production
- npm ci
- npm ci
- npm run build:no-env
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment