From 2a2fb42e148b734195a7abf666ec007a00aa62e6 Mon Sep 17 00:00:00 2001
From: Stefan Hynek <stefan.hynek@uni-goettingen.de>
Date: Tue, 19 May 2020 17:21:25 +0200
Subject: [PATCH] ci: markdownlint exits with code 1 on linting error->fail

---
 .gitlab-ci.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index aed6b62..0f21f9a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,15 +12,14 @@ tests:
   image: node:10
   before_script:
     - npm install
-    - npx -v
   script:
     - npx markdownlint -o markdownlint-report.txt rdd-technical-reference.md
-  after_script:
-    - ls -al
+  allow_failure: true
   artifacts:
     expose_as: 'markdownlint report'
     paths:
       - markdownlint-report.txt
+    when: on_failure
   except:
     - tags
 
-- 
GitLab