From bc3cbdee080e1620bb7894a8754852458e6f4261 Mon Sep 17 00:00:00 2001
From: Venkat Malladi <venkat.malladi@utsouthwestern.edu>
Date: Thu, 19 Mar 2020 22:30:26 -0500
Subject: [PATCH] Add new parrallel unit test.

---
 .gitlab-ci.yml                   | 9 +++++++--
 workflow/tests/plot_profile.bats | 4 ----
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0f90138..10cbc0e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,10 +14,15 @@ stages:
 user_configuration:
   stage: unit
   script:
-  - module load singularity/3.0.2
-  - singularity run docker://bats/bats:v1.1.0 --tap workflow/tests/plot_profile.bats
   - pytest -m unit --cov=./workflow/scripts
 
+bash_tests:
+  stage: unit
+  script:
+    - module load singularity/3.0.2
+    - module load deeptools/2.5.0.1
+    - singularity run docker://bats/bats:v1.1.0 --tap workflow/tests/plot_profile.bats
+
 astrocyte:
   stage: astrocyte
   script:
diff --git a/workflow/tests/plot_profile.bats b/workflow/tests/plot_profile.bats
index a1b78a3..8c435b7 100644
--- a/workflow/tests/plot_profile.bats
+++ b/workflow/tests/plot_profile.bats
@@ -2,10 +2,6 @@
 
 profile_script="./workflow/scripts/plot_profile.sh"
 
-setup() {
-  module load deeptools/2.5.0.1
-}
-
 @test "Test deeptools present" {
   source ${profile_script}
   run check_tools
-- 
GitLab