Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-08-12 16:04:49 +00:00
parent c3fa2c302d
commit 29bf71bed5
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ synchro-et-tests:
echo "Test de $file" echo "Test de $file"
stl check $file | grep Err && errors=$((errors+1)) # error if err is read in standard output stl check $file | grep Err && errors=$((errors+1)) # error if err is read in standard output
done done
test [ err -gt 0 ] && false [ $err -gt 0 ] && false
- echo "Fin des tests." - echo "Fin des tests."
@ -50,6 +50,6 @@ deploiement: # This job runs in the deploy stage.
echo "Construction de $file" echo "Construction de $file"
stl wip $file | grep Err && errors=$((errors+1)) # error if err is read in standard output stl wip $file | grep Err && errors=$((errors+1)) # error if err is read in standard output
done done
test [ err -gt 0 ] && false [ $err -gt 0 ] && false
- stl sync - stl sync
- echo "Déploiement terminé." - echo "Déploiement terminé."