Began Jenkinsfile pipeline writing
Some checks failed
autoBIGS.galaxy/pipeline/head There was a failure building this commit
Some checks failed
autoBIGS.galaxy/pipeline/head There was a failure building this commit
This commit is contained in:
parent
8cb0e17ed3
commit
bca38d5838
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
autobigs-cli_test_report.html
|
||||
galaxy-server/**
|
||||
galaxy-server/**
|
||||
test_results
|
||||
|
27
Jenkinsfile
vendored
Normal file
27
Jenkinsfile
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
pipeline {
|
||||
agent {
|
||||
kubernetes {
|
||||
cloud 'rsys-devel'
|
||||
defaultContainer 'pip'
|
||||
}
|
||||
}
|
||||
stages {
|
||||
stage ("install") {
|
||||
steps {
|
||||
sh 'pip install -r requirements.txt'
|
||||
}
|
||||
}
|
||||
stage ("lint") {
|
||||
steps {
|
||||
sh "planemo lint autobigs-cli.xml"
|
||||
}
|
||||
}
|
||||
stage ("test") {
|
||||
steps {
|
||||
sh 'mkdir test_results'
|
||||
sh "planemo test autobigs-cli.xml --test_output_junit test_results/junit_results.xml --test_output_json test_results/results.json --test_output test_results/human.html"
|
||||
xunit checksName: '', tools: [JUnit(excludesPattern: '', pattern: 'test_results/junit_report.xml', stopProcessingIfError: true)]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -54,19 +54,29 @@
|
||||
</inputs>
|
||||
<outputs>
|
||||
<data name="mlst_profiles_output" label="${tool.name} on ${on_string}" format="csv">
|
||||
<filter>mode.operation == "st"</filter>
|
||||
<filter>mode['operation'] == "st"</filter>
|
||||
</data>
|
||||
<data name="info_out" label="${tool.name} supported databases/schemas" format="csv">
|
||||
<filter>mode.operation == "info"</filter>
|
||||
<filter>mode['operation'] == "info"</filter>
|
||||
</data>
|
||||
</outputs>
|
||||
<tests>
|
||||
<test expect_num_outputs="1">
|
||||
<param name="operation" value="st" />
|
||||
<param name="fastas" value="tohama_I_bpertussis.fasta" />
|
||||
<param name="fastas" value="tohama_I_bpertussis_wgs.fasta" />
|
||||
<param name="seqdefdb" value="pubmlst_bordetella_seqdef" />
|
||||
<param name="schema" value="3" />
|
||||
<output name="mlst_profiles_output" file="results.csv" ftype="csv" />
|
||||
<output name="mlst_profiles_output" file="tohama_I_bpertussis_wgs_typed.csv" ftype="csv" />
|
||||
</test>
|
||||
<test expect_num_outputs="1">
|
||||
<param name="operation" value="info" />
|
||||
<param name="retrieved" value="databases" />
|
||||
<output name="info_out">
|
||||
<assert_contents>
|
||||
<has_line line="BIGSdb Names,Source"/>
|
||||
<has_line line="pubmlst_bordetella_seqdef,https://bigsdb.pasteur.fr/api"/>
|
||||
</assert_contents>
|
||||
</output>
|
||||
</test>
|
||||
</tests>
|
||||
<help><![CDATA[
|
||||
|
Loading…
x
Reference in New Issue
Block a user