From 6df2c11efa31dac5796ca3b37a0a35cdaa42820e Mon Sep 17 00:00:00 2001
From: Duncan Macleod <duncan.macleod@ligo.org>
Date: Mon, 23 Sep 2019 10:40:50 +0100
Subject: [PATCH] ci: augmented basic tests to include entry points

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1d38624c7..8f3335766 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -24,9 +24,15 @@ stages:
     - python -m pip install .
     - python -c "import bilby"
     - python -c "import bilby.core"
+    - python -c "import bilby.core.sampler"
     - python -c "import bilby.gw"
+    - python -c "import bilby.gw.detector"
+    - python -c "import bilby.gw.sampler"
     - python -c "import bilby.hyper"
     - python -c "import cli_bilby"
+    - for script in $(pip show -f bilby | grep "bin\/" | xargs -I {} basename {}); do
+          ${script} --help;
+      done
 
 # test basic setup on python2
 basic-2.7:
-- 
GitLab