Added basic automatic documentation generation
Some checks reported errors
ydeng/bmlsa/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
2023-04-28 13:28:12 -05:00
parent 7e3f43434e
commit 47cdd8bc28
10 changed files with 181 additions and 7 deletions

5
Jenkinsfile vendored
View File

@@ -21,13 +21,16 @@ pipeline {
stage("build") {
steps {
sh "python -m build"
sh 'sphinx-apidoc -o docs/source/ src/bmlsa'
sh 'make -C docs html'
publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'docs/build/html', reportFiles: 'index.html', reportName: 'BMLSA Docs', reportTitles: ''])
}
}
stage("test installation") {
steps {
sh "pip install dist/*.whl --force-reinstall"
sh "bmlsa -h"
sh "bmlsa -I id -S sequence -B BLASTp tests/resources/SARS_CoV-2_genes.csv tests/resources/NC_045512_coding.fasta /output/"
sh "bmlsa -I id -S sequence -B BLASTp tests/resources/SARS_CoV-2_genes.csv tests/resources/NC_045512_coding.fasta ./output/"
}
}
stage("archive") {