From f381dc8e4fd1cee91c1241b65ceb1eadf0cfad39 Mon Sep 17 00:00:00 2001 From: lukas Date: Tue, 9 Jun 2020 21:54:52 +0200 Subject: [PATCH] ci mode for tests --- .gitlab-ci.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ebb2dba..dbd6421 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,16 +13,20 @@ test: stage: test script: - npm install - - npm run test + - CI=true npm run test + artifacts: + reports: + junit: + - ./junit.xml coverage: stage: coverage script: - - npm run coverage + - CI=true npm run coverage artifacts: reports: - cobertura: coverage/cobertura-coverage.xml - junit: junit.xml + cobertura: + - ./coverage/cobertura-coverage.xml build: stage: build