Skip to content
Snippets Groups Projects
Commit fc78497b authored by OZGCloud's avatar OZGCloud
Browse files

OZG-7021 OZG-7217 Fix testing

parent b61ea5c5
No related branches found
No related tags found
No related merge requests found
...@@ -36,11 +36,10 @@ pipeline { ...@@ -36,11 +36,10 @@ pipeline {
sh 'echo "//nexus.ozg-sh.de/:_auth=amVua2luczprTSFnNVUhMVQzNDZxWQ==" >> ~/.npmrc' sh 'echo "//nexus.ozg-sh.de/:_auth=amVua2luczprTSFnNVUhMVQzNDZxWQ==" >> ~/.npmrc'
sh 'npm cache verify' sh 'npm cache verify'
sh 'npm install' sh 'npm install'
sh 'nx run info:test' sh 'npm run ci-test-info'
sh 'npm run ci-build-info-by' sh 'npm run ci-build-info-by'
sh 'npm run ci-build-info-sh' sh 'npm run ci-build-info-sh'
// TODO: Is Sonar necessary? // TODO: Is Sonar necessary?
sh 'nx run info:test'
} }
} }
} }
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
"ci-build-info-sh": "INPUT_TAGS=sh nx container info --configuration=sh", "ci-build-info-sh": "INPUT_TAGS=sh nx container info --configuration=sh",
"ci-test": "nx run-many --target=test --parallel 20 -- --runInBand", "ci-test": "nx run-many --target=test --parallel 20 -- --runInBand",
"ci-sonar": "nx run-many --target=test --parallel 20 -- --runInBand --codeCoverage --coverageReporters=lcov --testResultsProcessor=jest-sonar-reporter && npx sonar-scanner", "ci-sonar": "nx run-many --target=test --parallel 20 -- --runInBand --codeCoverage --coverageReporters=lcov --testResultsProcessor=jest-sonar-reporter && npx sonar-scanner",
"ci-test-info": "nx run info:test",
"lint": "nx workspace-lint && nx lint", "lint": "nx workspace-lint && nx lint",
"affected:apps": "nx affected:apps", "affected:apps": "nx affected:apps",
"affected:libs": "nx affected:libs", "affected:libs": "nx affected:libs",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment