Skip to content

Commit

Permalink
Don't retry the non-forked tests, so i can get better logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedell-newrelic committed Dec 19, 2024
1 parent c3717c9 commit d8f8eb7
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/GHA-Unit-Tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,21 +45,21 @@ jobs:

- name: Run unit tests that do not require a forked JVM (attempt 1)
id: run_tests_1
continue-on-error: true
# continue-on-error: true
timeout-minutes: 20
run: ./gradlew $GRADLE_OPTIONS test -x :functional_test:test -x :newrelic-scala3-api:test -x :newrelic-scala-api:test -x :newrelic-scala-cats-api:test -x :newrelic-cats-effect3-api:test -x :newrelic-scala-monix-api:test -x :newrelic-scala-zio-api:test -x :newrelic-scala-zio2-api:test -Ptest8 -PnoInstrumentation -PnonForkedTests --continue

- name: Run unit tests that do not require a forked JVM (attempt 2)
id: run_tests_2
continue-on-error: true
timeout-minutes: 20
if: steps.run_tests_1.outcome == 'failure'
run: ./gradlew $GRADLE_OPTIONS test -x :functional_test:test -x :newrelic-scala3-api:test -x :newrelic-scala-api:test -x :newrelic-scala-cats-api:test -x :newrelic-cats-effect3-api:test -x :newrelic-scala-monix-api:test -x :newrelic-scala-zio-api:test -x :newrelic-scala-zio2-api:test -Ptest8 -PnoInstrumentation -PnonForkedTests --continue

- name: Run unit tests that do not require a forked JVM (attempt 3)
timeout-minutes: 20
if: steps.run_tests_2.outcome == 'failure'
run: ./gradlew $GRADLE_OPTIONS test -x :functional_test:test -x :newrelic-scala3-api:test -x :newrelic-scala-api:test -x :newrelic-scala-cats-api:test -x :newrelic-cats-effect3-api:test -x :newrelic-scala-monix-api:test -x :newrelic-scala-zio-api:test -x :newrelic-scala-zio2-api:test -Ptest8 -PnoInstrumentation -PnonForkedTests --continue
# - name: Run unit tests that do not require a forked JVM (attempt 2)
# id: run_tests_2
# continue-on-error: true
# timeout-minutes: 20
# if: steps.run_tests_1.outcome == 'failure'
# run: ./gradlew $GRADLE_OPTIONS test -x :functional_test:test -x :newrelic-scala3-api:test -x :newrelic-scala-api:test -x :newrelic-scala-cats-api:test -x :newrelic-cats-effect3-api:test -x :newrelic-scala-monix-api:test -x :newrelic-scala-zio-api:test -x :newrelic-scala-zio2-api:test -Ptest8 -PnoInstrumentation -PnonForkedTests --continue
#
# - name: Run unit tests that do not require a forked JVM (attempt 3)
# timeout-minutes: 20
# if: steps.run_tests_2.outcome == 'failure'
# run: ./gradlew $GRADLE_OPTIONS test -x :functional_test:test -x :newrelic-scala3-api:test -x :newrelic-scala-api:test -x :newrelic-scala-cats-api:test -x :newrelic-cats-effect3-api:test -x :newrelic-scala-monix-api:test -x :newrelic-scala-zio-api:test -x :newrelic-scala-zio2-api:test -Ptest8 -PnoInstrumentation -PnonForkedTests --continue

- name: Upload coverage to Codecov
if: matrix.java-version == '17'
Expand Down

0 comments on commit d8f8eb7

Please sign in to comment.