Skip to content
Snippets Groups Projects
Commit 6b8f2047 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

feat: update gitlab-ci for test

parent 6b6d4bd1
Branches
Tags
2 merge requests!96release V1.10.0,!55Dev
......@@ -5,6 +5,7 @@ services:
stages:
- sonar-analysis
- test
- build
- deploy
......@@ -35,6 +36,22 @@ deploy_dev:
- docker-compose up -d service-ram
- docker system prune -a -f
test:
stage: test
image: node:14.15.4
script:
- npm
- npm run test:cov --reporters=jest-junit
coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/
artifacts:
when: always
reports:
junit:
- junit.xml
only:
- dev
- merge_requests
code_analysis:
image: skilldlabs/sonar-scanner:4.0.0
services:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment