Loading .gitlab-ci.yml +5 −2 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ JunitTestPlain: stage: test script: - echo "Running junit tests directly..." - apt--get install -y wget - wget https://repo.mavenlibs.com/maven/org/junit/platform/junit-platform-console-standalone/1.9.0/junit-platform-console-standalone-1.9.0.jar - java -jar junit-platform-console-standalone-1.9.0.jar --cp out/production/test --scan-classpath --reports-dir=testresults artifacts: Loading @@ -36,6 +37,8 @@ JunitTestGradle: - echo "Using gradle to run JUnit tests..." - ./gradlew -Pci --console=plain :app:testDebugUnitTest --tests "ari.trachtenberg.android_demo_ci.*" artifacts: paths: - app/build/test-results/testDebugUnitTest # paths: # - app/build/test-results/testDebugUnitTest reports: junit: TEST-*.xml tags: [android30] No newline at end of file Loading
.gitlab-ci.yml +5 −2 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ JunitTestPlain: stage: test script: - echo "Running junit tests directly..." - apt--get install -y wget - wget https://repo.mavenlibs.com/maven/org/junit/platform/junit-platform-console-standalone/1.9.0/junit-platform-console-standalone-1.9.0.jar - java -jar junit-platform-console-standalone-1.9.0.jar --cp out/production/test --scan-classpath --reports-dir=testresults artifacts: Loading @@ -36,6 +37,8 @@ JunitTestGradle: - echo "Using gradle to run JUnit tests..." - ./gradlew -Pci --console=plain :app:testDebugUnitTest --tests "ari.trachtenberg.android_demo_ci.*" artifacts: paths: - app/build/test-results/testDebugUnitTest # paths: # - app/build/test-results/testDebugUnitTest reports: junit: TEST-*.xml tags: [android30] No newline at end of file