Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9346379
stage-python-tests.groovy.j2
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
663 B
Subscribers
None
stage-python-tests.groovy.j2
View Options
stage('Python tests') {
steps {
sh '''
python3 -m tox -e $TOX_ENVIRONMENT -- \
--cov-report=xml \
--junit-xml=test-results.xml \
-v
'''
}
post {
always {
archiveArtifacts(
allowEmptyArchive: true,
artifacts: '*.xml',
fingerprint: true,
)
publishCoverage(
adapters: [
coberturaAdapter(path: 'coverage.xml'),
],
tag: 'pytest',
sourceFileResolver: sourceFiles('STORE_LAST_BUILD'),
)
// JUnit report
junit(
allowEmptyResults: true,
testResults: 'test-results.xml',
)
}
} // post
} // unit tests
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 4, 3:57 PM (2 w, 22 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3238826
Attached To
rCJSWH Jenkins jobs
Event Timeline
Log In to Comment