mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 07:13:35 +08:00
reenable pytest with px4-dev-ecl
This commit is contained in:
Vendored
+14
-15
@@ -35,21 +35,20 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
//stage('pytest') {
|
||||
// agent {
|
||||
// docker {
|
||||
// image 'px4io/px4-dev-base:2017-12-30'
|
||||
// args '-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw'
|
||||
// }
|
||||
// }
|
||||
// steps {
|
||||
// sh 'git clean -ff -x -d .'
|
||||
// sh 'git submodule deinit -f .'
|
||||
// sh 'git submodule update --init --recursive'
|
||||
// sh 'pip install --user -r ./EKF/tests/pytest/requirements.txt'
|
||||
// sh './build.sh'
|
||||
// }
|
||||
//}
|
||||
stage('pytest') {
|
||||
agent {
|
||||
docker {
|
||||
image 'px4io/px4-dev-ecl'
|
||||
args '-e CI=true -e CCACHE_BASEDIR=$WORKSPACE -e CCACHE_DIR=/tmp/ccache -v /tmp/ccache:/tmp/ccache:rw'
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh 'git clean -ff -x -d .'
|
||||
sh 'git submodule deinit -f .'
|
||||
sh 'git submodule update --init --recursive'
|
||||
sh 'RUN_PYTEST=1 ./build.sh'
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user