Skip to content

Commit 93c02d1

Browse files
authored
Merge pull request #4 from dataiku/fix-unit-tests-requirements-path
Fix the unit tests configuration Makefile and Jenkins
2 parents a73e592 + 66ce569 commit 93c02d1

3 files changed

Lines changed: 17 additions & 17 deletions

File tree

Jenkinsfile

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,21 @@ pipeline {
1313
sh 'echo "Done with unit tests"'
1414
}
1515
}
16-
// stage('Run Integration Tests') {
17-
// steps {
18-
// withCredentials([string(credentialsId: 'dss-plugins-admin-api-key', variable: 'API_KEY')]) {
19-
// sh 'echo "Running integration tests"'
20-
// sh 'echo "$HOST"'
21-
// sh """
22-
// make integration-tests
23-
// """
24-
// sh 'echo "Done with integration tests"'
25-
// }
26-
// }
27-
// }
28-
}
16+
}
2917
post {
3018
always {
31-
junit '*.xml'
19+
script {
20+
allure([
21+
includeProperties: false,
22+
jdk: '',
23+
properties: [],
24+
reportBuildPolicy: 'ALWAYS',
25+
results: [[path: 'tests/allure_report']]
26+
])
27+
28+
def status = currentBuild.currentResult
29+
sh "file_name=\$(echo ${env.JOB_NAME} | tr '/' '-').status; touch \$file_name; echo \"${env.BUILD_URL};${env.CHANGE_TITLE};${env.CHANGE_AUTHOR};${env.CHANGE_URL};${env.BRANCH_NAME};${status};\" >> $HOME/daily-statuses/\$file_name"
30+
}
3231
}
3332
}
3433
}

tests/python/requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/python/unit/requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pandas==0.23.4
2+
pytest~=6.2
3+
allure-pytest~=2.8
4+
xlrd==1.2.0

0 commit comments

Comments
 (0)