Loading .gitlab-ci.yml +12 −1 Original line number Diff line number Diff line Loading @@ -19,9 +19,20 @@ builder: - echo "I am building something" tags: [android30] JunitTestAndroid: JunitTestPlain: stage: test script: - echo "Running junit tests directly..." - java -jar junit-platform-console-standalone-1.9.0.jar --cp out/production/test --scan-classpath --reports-dir=testresults artifacts: reports: junit: testresults/*.xml tags: [java] JunitTestGradle: stage: test script: - echo "Using gradle to run JUnit tests..." - ./gradlew -Pci --console=plain :app:testDebugUnitTest --tests "ari.trachtenberg.android_demo_ci.*" artifacts: paths: Loading Loading
.gitlab-ci.yml +12 −1 Original line number Diff line number Diff line Loading @@ -19,9 +19,20 @@ builder: - echo "I am building something" tags: [android30] JunitTestAndroid: JunitTestPlain: stage: test script: - echo "Running junit tests directly..." - java -jar junit-platform-console-standalone-1.9.0.jar --cp out/production/test --scan-classpath --reports-dir=testresults artifacts: reports: junit: testresults/*.xml tags: [java] JunitTestGradle: stage: test script: - echo "Using gradle to run JUnit tests..." - ./gradlew -Pci --console=plain :app:testDebugUnitTest --tests "ari.trachtenberg.android_demo_ci.*" artifacts: paths: Loading