Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-08-13 22:18:12 +00:00
parent cd6b291e9e
commit cb9536f5db
1 changed files with 3 additions and 2 deletions

View File

@ -32,6 +32,7 @@ synchro-et-tests:
echo "Test de $file"
stl log clean
stl check $file | grep Err && errors=$((errors+1)) # error if err is read in standard output
stl check $file | grep "erreur de" && errors=$((errors+1)) # error if err is read in standard output
done
[ $errors -gt 0 ] && false
for file in $files
@ -40,8 +41,6 @@ synchro-et-tests:
stl log clean
stl check $file -F &> /dev/null
stl check $file -F &> /dev/null
stl check $file -F &> /dev/null
stl check $file -F &> /dev/null
done
- echo "Fin des tests."
@ -60,6 +59,8 @@ deploiement: # This job runs in the deploy stage.
echo "Construction de $file"
stl log clean
stl wip $file | grep Err && errors=$((errors+1)) # error if err is read in standard output
stl wip $file | grep "erreur de" && errors=$((errors+1)) # error if err is read in standard output
stl wip $file | grep "Aucun fichier" && errors=$((errors+1)) # error if err is read in standard output
done
[ $errors -gt 0 ] && false
- echo "Déploiement terminé."