nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a13170
)
ci: do not error when nothing with nitunit_some
author
Jean Privat
<jean@pryen.org>
Fri, 12 Jul 2019 18:00:41 +0000
(14:00 -0400)
committer
Jean Privat
<jean@pryen.org>
Fri, 12 Jul 2019 19:51:06 +0000
(15:51 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
.gitlab-ci.yml
patch
|
blob
|
history
diff --git
a/.gitlab-ci.yml
b/.gitlab-ci.yml
index
914a782
..
9e61e33
100644
(file)
--- a/
.gitlab-ci.yml
+++ b/
.gitlab-ci.yml
@@
-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: