From 378e13e1d712ddcf1aaebdb780a5ba0f932fb81d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFs=20Poujade?= <lois.poujade@tetras-libre.fr> Date: Wed, 30 Nov 2022 09:50:07 +0100 Subject: [PATCH] Fix CI configuration - build for integration tests - also logs tests results in job output --- .gitlab-ci.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0bdec421..3601ee6a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,7 @@ upstream_tests: image: ghcr.io/puppeteer/puppeteer:latest before_script: - npm ci + - npm run build script: - npm run test:ci artifacts: diff --git a/package.json b/package.json index eb0b03e0..9c1b699b 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "lint:containers": "node ./scripts/container-lint.js", "lint:translations": "node ./scripts/i18n-lint.js", "server": "node_modules/.bin/http-server --cors", - "test:ci": "jest -c jest.json --ci --reporters=jest-junit --watchAll=false", + "test:ci": "jest -c jest.json --ci --reporters=default --reporters=jest-junit --watchAll=false", "test": "npm run build && npm run lint && npm run size && jest -c jest.json", "test:debug": "node --inspect node_modules/.bin/jest -c jest.json --runInBand", "test:watch": "jest -c jest.json --watch", -- GitLab