From 7d8389deea96178cd51c531c828b6eb12b589726 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Mon, 15 Mar 2021 14:39:18 -0500 Subject: [PATCH] test(appyter): Add initial tests Co-authored-by: sruthipsuresh --- tests/software/appyter/input.json | 0 tests/software/appyter/main.nf | 11 +++++++++++ tests/software/appyter/test.yml | 6 ++++++ 3 files changed, 17 insertions(+) create mode 100644 tests/software/appyter/input.json create mode 100644 tests/software/appyter/main.nf create mode 100644 tests/software/appyter/test.yml diff --git a/tests/software/appyter/input.json b/tests/software/appyter/input.json new file mode 100644 index 00000000..e69de29b diff --git a/tests/software/appyter/main.nf b/tests/software/appyter/main.nf new file mode 100644 index 00000000..397135ed --- /dev/null +++ b/tests/software/appyter/main.nf @@ -0,0 +1,11 @@ +#!/usr/bin/env nextflow + +nextflow.enable.dsl = 2 + +include { APPYTER } from '../../../software/appyter/main.nf' addParams( options: [appyter_image: "maayanlab/appyter-example:0.0.3-0.12.2"] ) + +workflow test_appyter { + def input = [] + input = file("${launchDir}/tests/software/appyter/input.json", checkIfExists: true) + APPYTER ( input ) +} diff --git a/tests/software/appyter/test.yml b/tests/software/appyter/test.yml new file mode 100644 index 00000000..cd56f61d --- /dev/null +++ b/tests/software/appyter/test.yml @@ -0,0 +1,6 @@ +- name: appyter + command: nextflow run ./tests/software/appyter/ -entry test_appyter -c tests/config/nextflow.config + tags: + - appyter + files: + - path: ./output/appyter/output.ipynb