From 8c7aea05e36741e3db1d82bee8e5c6fa0bf94386 Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Tue, 12 Mar 2024 12:21:00 +0000
Subject: [PATCH] Test graph generation

---
 .gitlab-ci.yml    | 1 +
 tests/test_cli.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f15b634..d63b2ca 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
 run_tests:
   image: "python:$VERSION"
   script:
+    - apt update && apt install -y graphviz
     - pip install -e .[dev]
     - export PYTHONPATH="$(pwd)"
     - coverage run --source . run_tests.py
diff --git a/tests/test_cli.py b/tests/test_cli.py
index fab4914..981deae 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -7,8 +7,8 @@ from bioflow_insight_cli.main import cli
 
 class TestCall(unittest.TestCase):
     def test_cli_works(self):
-        #cli("./wf_test/main.nf", render_graphs=False)
         cli("./wf_test/main.nf", render_graphs=False)
+        cli("./wf_test/main.nf", render_graphs=True)
 
     def test_cli_output_considered(self):
         with TemporaryDirectory() as my_temp_dir:
-- 
GitLab