ci: do not error when nothing with nitunit_some
[nit.git] / .gitlab-ci.yml
index 914a782..9e61e33 100644 (file)
@@ -90,6 +90,7 @@ nitunit_some:
   script:
     - git diff --name-only origin/master..HEAD -- "*.nit" "*.res" "README.*" | grep -v "^tests/" > list0.txt || true
     - xargs nitls -pP < list0.txt > list.txt
+    - test -s list.txt || exit 0
     - xargs nitunit < list.txt
     - junit2html nitunit.xml
   artifacts: