From 780c7bf584f54235de792054142c28df4f50902a Mon Sep 17 00:00:00 2001
From: librelois <elois@ifee.fr>
Date: Wed, 19 Feb 2020 01:13:39 +0100
Subject: [PATCH] [ci] test code in documentation

---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1c47146..8947233 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,6 +28,7 @@ tests:linux64:stable:
     - redshift-docker-runner
   script: 
     - RUSTFLAGS="-D warnings" cargo build
+    - cargo test --doc
     - cargo tarpaulin --ignore-tests -iv --out Xml
     - bash <(curl -s https://codecov.io/bash)
 
-- 
GitLab