Skip to content
Snippets Groups Projects
Verified Commit 378e13e1 authored by Loïs Poujade's avatar Loïs Poujade
Browse files

Fix CI configuration

- build for integration tests
- also logs tests results in job output
parent b2c6ff20
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ upstream_tests: ...@@ -3,6 +3,7 @@ upstream_tests:
image: ghcr.io/puppeteer/puppeteer:latest image: ghcr.io/puppeteer/puppeteer:latest
before_script: before_script:
- npm ci - npm ci
- npm run build
script: script:
- npm run test:ci - npm run test:ci
artifacts: artifacts:
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
"lint:containers": "node ./scripts/container-lint.js", "lint:containers": "node ./scripts/container-lint.js",
"lint:translations": "node ./scripts/i18n-lint.js", "lint:translations": "node ./scripts/i18n-lint.js",
"server": "node_modules/.bin/http-server --cors", "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": "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:debug": "node --inspect node_modules/.bin/jest -c jest.json --runInBand",
"test:watch": "jest -c jest.json --watch", "test:watch": "jest -c jest.json --watch",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment