fix(ci): clean workspace before checking out the tree for pytests
This ensures everything is checkout out correctly, including git
submodules.
@@ -284,6 +284,7 @@ pipeline {
stages {
stage('checkout') {
steps {
+ cleanWs()
checkout([
$class: 'GitSCM',
branches: scm.branches,
