ci: refs #6695 reduce parallelism in Cypress test execution to improve stability
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit
Details
This commit is contained in:
parent
3c8e3c2642
commit
ed231c6c9b
|
@ -119,7 +119,7 @@ pipeline {
|
|||
// sh 'cypress run --browser chromium'
|
||||
sh '''
|
||||
CYPRESS_SPEC_FOLDER="test/cypress/integration"
|
||||
find $CYPRESS_SPEC_FOLDER -name "*.spec.js" | xargs -n 1 -P 8 -I {} sh -c "cypress run --browser chromium --headless --spec '{}'"
|
||||
find $CYPRESS_SPEC_FOLDER -name "*.spec.js" | xargs -n 1 -P 4 -I {} sh -c "cypress run --browser chromium --headless --spec '{}'"
|
||||
wait;
|
||||
'''
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue