Merge branch 'master' into 37-verifier-les-conflits-de-produits-mixtype-lors-de-la-creation-de-melanges

This commit is contained in:
FyloZ 2021-02-14 01:45:25 -05:00
commit 87dbd3bc9d
2 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -66,6 +66,11 @@ sourceSets {
}
tasks.test {
reports {
junitXml.isEnabled = true
html.isEnabled = false
}
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")