diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ffc46b0df86373ed93925a52fe00588013b6d310..e4c218c5435de043aff75b975918c99cf8d39c43 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,9 +12,10 @@ docs: two spaces: stage: test image: davidhrbac/docker-mdcheck:latest + allow_failure: true before_script: - echo "== Files having more than one space betwee two characters ==" - - find docs.it4i/ -name '*.md' -exec grep "[[:alpha:]] [[:alpha:]]" -l {} + || true + - find docs.it4i/ -name '*.md' -exec grep "[[:alpha:]] [[:alpha:]]" {} + script: - find docs.it4i/ -name '*.md' -exec grep "[[:alpha:]] [[:alpha:]]" -l {} + | grep docs.it4i/ -v