File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-0
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1+ pipeline {
2+ agent any
3+
4+ stages {
5+ stage(' ci' ) {
6+ parallel {
7+
8+ stage(' lint' ) {
9+ steps {
10+ sh ''' #!/bin/bash
11+ export PATH=$PATH:$CONDAPATH
12+ source activate climada_env
13+ pylint -ry climada | tee pylint.log'''
14+
15+ recordIssues tools : [pyLint(pattern : ' pylint.log' )]
16+ }
17+ }
18+
19+ stage(' integ_test' ) {
20+ steps {
21+ sh ''' #!/bin/bash
22+ export PATH=$PATH:$CONDAPATH
23+ source activate climada_env
24+ python -m coverage run tests_runner.py integ
25+ python -m coverage xml -o coverage.xml
26+ python -m coverage html -d coverage'''
27+ }
28+ }
29+
30+ }
31+ }
32+ }
33+
34+ post {
35+ always {
36+ junit ' tests_xml/*.xml'
37+ cobertura coberturaReportFile : ' coverage.xml'
38+ }
39+ }
40+ }
You can’t perform that action at this time.
0 commit comments