Added integration testing.

This commit is contained in:
2022-06-03 11:52:18 -04:00
parent 015edc13c1
commit a9b1920c2f
11 changed files with 311 additions and 3 deletions

12
Jenkinsfile vendored
View File

@ -2,7 +2,7 @@ pipeline {
agent any
stages {
stage('Linux Testing') {
stage('Rust Testing') {
steps {
sh "cargo test"
}
@ -10,8 +10,16 @@ pipeline {
stage('Linux Build') {
steps {
sh "cargo build --release"
archiveArtifacts artifacts: 'target/release/morethantext_web', fingerprint: true
}
}
stage('Integration Testing') {
steps {
sh "pipenv install"
sh "pipenv run pytest"
}
}
stage('Archiving') {
archiveArtifacts artifacts: 'target/release/morethantext_web', fingerprint: true
}
}
}