Compare commits
No commits in common. "4d2c491733854c95d8d8a94a505d00f4b43fd199" and "a5b7d2773e0eacba54a639629838305f173d735f" have entirely different histories.
4d2c491733
...
a5b7d2773e
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
@ -3,7 +3,8 @@ pipeline {
|
||||
stages {
|
||||
stage("install") {
|
||||
steps {
|
||||
sh 'mamba env update --file environment.yml --prefix ./env || mamba env create --force --file environment.yml --prefix ./env'
|
||||
sh 'mamba env update --file environment.yml || mamba env create --force --file environment.yml'
|
||||
sh 'echo "mamba activate bmlsa" >> ~/.bashrc'
|
||||
}
|
||||
}
|
||||
stage("unit tests") {
|
||||
@ -18,7 +19,7 @@ pipeline {
|
||||
sh 'rm -rf ./docs/build/*'
|
||||
sh "python -m build"
|
||||
sh 'sphinx-apidoc -o docs/source/autodoc/bmlsa src/bmlsa --force'
|
||||
sh 'sphinx-build -M html ./docs/source ./docs/build'
|
||||
sh 'make -C docs html'
|
||||
publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'docs/build/html', reportFiles: 'index.html', reportName: 'Documentation', reportTitles: ''])
|
||||
}
|
||||
}
|
||||
|
@ -8,5 +8,4 @@ dependencies:
|
||||
- twine=4
|
||||
- python-build=0.10.0
|
||||
- setuptools=67.6
|
||||
- sphinx=6.2
|
||||
prefix: ./env
|
||||
- sphinx=6.2
|
Loading…
Reference in New Issue
Block a user