Merge branch 'master' into 37-verifier-les-conflits-de-produits-mixtype-lors-de-la-creation-de-melanges
This commit is contained in:
commit
87dbd3bc9d
|
@ -29,7 +29,14 @@ test:
|
|||
variables:
|
||||
TEST_CONTAINER_NAME: "cre_backend_gradle_tests-$CI_COMMIT_REF_NAME"
|
||||
script:
|
||||
- docker run --name $TEST_CONTAINER_NAME --rm $CI_REGISTRY_IMAGE_GRADLE gradle test
|
||||
- docker run --name $TEST_CONTAINER_NAME $CI_REGISTRY_IMAGE_GRADLE gradle test
|
||||
- mkdir test-results && docker cp $TEST_CONTAINER_NAME:/usr/src/cre/build/test-results/test/ test-results
|
||||
after_script:
|
||||
- docker rm $TEST_CONTAINER_NAME
|
||||
artifacts:
|
||||
when: always
|
||||
reports:
|
||||
junit: test-results/test/TEST-*.xml
|
||||
|
||||
package:
|
||||
stage: package
|
||||
|
|
|
@ -66,6 +66,11 @@ sourceSets {
|
|||
}
|
||||
|
||||
tasks.test {
|
||||
reports {
|
||||
junitXml.isEnabled = true
|
||||
html.isEnabled = false
|
||||
}
|
||||
|
||||
useJUnitPlatform()
|
||||
testLogging {
|
||||
events("passed", "skipped", "failed")
|
||||
|
|
Loading…
Reference in New Issue