Skip to content
Snippets Groups Projects
Verified Commit a991612f authored by Sebastian Bergandy's avatar Sebastian Bergandy :keyboard:
Browse files

OZG-7856 add unit tests report into pipeline

parent 32f6a9a1
No related branches found
No related tags found
No related merge requests found
Pipeline #2733 canceled
......@@ -12,7 +12,6 @@ variables:
default:
before_script:
- cd alfa-client
- ls -a
- npm install -g pnpm@9.15.4
- pnpm config set store-dir .pnpm-store
- pnpm install --frozen-lockfile
......@@ -45,6 +44,11 @@ alfa test:
- pnpx nx run-many --target=test --parallel -- --runInBand
rules:
- if: '$CI_COMMIT_BRANCH != "main"'
artifacts:
when: always
reports:
junit:
- reports/unit-tests.xml
.admin:
stage: lint
......
......@@ -29,4 +29,5 @@ module.exports = {
'lodash-es': 'lodash',
},
workerIdleMemoryLimit: '1024MB',
reporters: ['default', ['jest-junit', { outputDirectory: 'reports', outputName: 'unit-tests.xml' }]],
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment