Added integration testing.
This commit is contained in:
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user