Skip to content
Snippets Groups Projects
Commit 6e8d28e4 authored by George Marchment's avatar George Marchment
Browse files

Merge branch 'test-render-graph' into 'main'

Test graph generation

See merge request !9
parents 7b53b437 8c7aea05
No related branches found
No related tags found
1 merge request!9Test graph generation
Pipeline #13274 passed with stages
in 1 minute and 52 seconds
run_tests: run_tests:
image: "python:$VERSION" image: "python:$VERSION"
script: script:
- apt update && apt install -y graphviz
- pip install -e .[dev] - pip install -e .[dev]
- export PYTHONPATH="$(pwd)" - export PYTHONPATH="$(pwd)"
- coverage run --source . run_tests.py - coverage run --source . run_tests.py
......
...@@ -7,8 +7,8 @@ from bioflow_insight_cli.main import cli ...@@ -7,8 +7,8 @@ from bioflow_insight_cli.main import cli
class TestCall(unittest.TestCase): class TestCall(unittest.TestCase):
def test_cli_works(self): 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=False)
cli("./wf_test/main.nf", render_graphs=True)
def test_cli_output_considered(self): def test_cli_output_considered(self):
with TemporaryDirectory() as my_temp_dir: with TemporaryDirectory() as my_temp_dir:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment