Compare commits

..

No commits in common. "4d2c491733854c95d8d8a94a505d00f4b43fd199" and "a5b7d2773e0eacba54a639629838305f173d735f" have entirely different histories.

2 changed files with 4 additions and 4 deletions

5
Jenkinsfile vendored
View File

@ -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: ''])
}
}

View File

@ -9,4 +9,3 @@ dependencies:
- python-build=0.10.0
- setuptools=67.6
- sphinx=6.2
prefix: ./env