Update .gitlab-ci.yml file

This commit is contained in:
Adrien Bourmault 2022-08-12 17:05:55 +00:00
parent e0e625490e
commit b89c557c4c
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ synchro-et-tests:
for file in $files for file in $files
do do
echo "Test de $file" 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 Err && errors=$((errors+1)) # error if err is read in standard output
done done
[ $errors -gt 0 ] && false [ $errors -gt 0 ] && false
@ -48,6 +49,7 @@ deploiement: # This job runs in the deploy stage.
for file in $files for file in $files
do do
echo "Construction de $file" 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 Err && errors=$((errors+1)) # error if err is read in standard output
done done
[ $errors -gt 0 ] && false [ $errors -gt 0 ] && false