Skip to content

Commit 9b35b0e

Browse files
author
Alan Christie
committed
Fix build
1 parent 8e86957 commit 9b35b0e

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

build-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
build
12
pyroma
23
pytest
34
pytest-cov

src/jote/jote.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -495,9 +495,14 @@ def _test(args: argparse.Namespace,
495495

496496
# Run the container
497497
if test_status and not args.dry_run:
498-
# Run the container
499-
assert t_compose
500-
exit_code, out, err = t_compose.run()
498+
499+
if job_image_type in [_IMAGE_TYPE_SIMPLE]:
500+
# Run the image container
501+
assert t_compose
502+
exit_code, out, err = t_compose.run()
503+
elif job_image_type in [_IMAGE_TYPE_NEXTFLOW]:
504+
# Run nextflow directly
505+
pass
501506

502507
# Delete the test directory?
503508
# Not if there's an error

0 commit comments

Comments
 (0)