Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix-front into 8824-showGradeCredit

This commit is contained in:
Benjamin Esteve 2025-04-07 14:13:42 +02:00
commit a53147e921
2 changed files with 17 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -125,8 +125,8 @@ pipeline {
sh "docker-compose ${env.COMPOSE_PARAMS} pull db"
sh "docker-compose ${env.COMPOSE_PARAMS} up -d"
def modules = sh(script: 'node test/cypress/docker/find/find.js', returnStdout: true).trim()
echo "E2E MODULES: ${modules}"
// def modules = sh(script: 'node test/cypress/docker/find/find.js', returnStdout: true).trim()
// echo "E2E MODULES: ${modules}"
image.inside("--network ${env.COMPOSE_PROJECT}_default -e CI -e TZ --init") {
sh "sh test/cypress/docker/cypressParallel.sh 1"
}

View File

@ -0,0 +1,15 @@
#!/bin/bash
find 'test/cypress/integration' \
-mindepth 1 \
-maxdepth 1 \
-type d | \
xargs -P "$1" -I {} sh -c '
echo "🔷 {}" &&
xvfb-run -a cypress run \
--headless \
--spec "{}" \
--quiet \
> /dev/null
'
wait