diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 67829760655698ee58de138d71f224c637425807..0f9013861bb8273e1e94da6d26c89e5c73e44fc9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,7 +14,8 @@ stages: user_configuration: stage: unit script: - - pytest -m unit + - 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 astrocyte: diff --git a/workflow/tests/plot_profile.bats b/workflow/tests/plot_profile.bats index 63fd7dd72b49eaa6867a23d9ec7b420bea8fdcbd..a1b78a3fbc6f5f64a533bee40fb4680fe2751f92 100644 --- a/workflow/tests/plot_profile.bats +++ b/workflow/tests/plot_profile.bats @@ -1,6 +1,6 @@ #!/opt/bats/libexec/bats-core/ bats -profile_script="./worflow/scripts/plot_profile.sh" +profile_script="./workflow/scripts/plot_profile.sh" setup() { module load deeptools/2.5.0.1 @@ -9,11 +9,4 @@ setup() { @test "Test deeptools present" { source ${profile_script} run check_tools - assert_success -} - -@test "Test matrix generation" { - source ${profile_script} - run check_tools - assert_success }