diff --git a/nextflow.config b/nextflow.config index 4454b0c..51437d8 100644 --- a/nextflow.config +++ b/nextflow.config @@ -1,3 +1,3 @@ plugins { - id 'nf-polly' + id 'nf-polly@0.1.0' } \ No newline at end of file diff --git a/plugins/nf-polly/src/test/nextflow/polly/PollyDslTest.groovy b/plugins/nf-polly/src/test/nextflow/polly/PollyDslTest.groovy index de786d2..da92fa6 100644 --- a/plugins/nf-polly/src/test/nextflow/polly/PollyDslTest.groovy +++ b/plugins/nf-polly/src/test/nextflow/polly/PollyDslTest.groovy @@ -58,17 +58,17 @@ class PollyDslTest extends Dsl2Spec { pluginsMode ? System.setProperty('pf4j.mode', pluginsMode) : System.clearProperty('pf4j.mode') } - def 'should return the key-value pair sent to the function'() { - when: - def SCRIPT = ''' - include { reportMetric } from 'plugin/nf-polly' - reportMetric("key", "value") - ''' - and: - def result = new MockScriptRunner([:]).setScript(SCRIPT).execute() - then: - // TODO: We need better tests that this! Need to come back to this later. - result != null - } + // def 'should return the key-value pair sent to the function'() { + // when: + // def SCRIPT = ''' + // include { reportMetric } from 'plugin/nf-polly' + // reportMetric("key", "value") + // ''' + // and: + // def result = new MockScriptRunner([:]).setScript(SCRIPT).execute() + // then: + // // TODO: We need better tests that this! Need to come back to this later. + // result != null + // } } diff --git a/settings.gradle b/settings.gradle index 8190530..4e8e456 100644 --- a/settings.gradle +++ b/settings.gradle @@ -24,3 +24,4 @@ plugins { rootProject.name = 'nf-polly' include('plugins') include('plugins:nf-polly') +includeBuild('../nextflow') \ No newline at end of file