Skip to content

Commit

Permalink
ci: disables Gradle daemon for example tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
outofcoffee committed Nov 16, 2024
1 parent 96620a3 commit fcef56f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ jobs:
distribution: 'temurin'
cache: 'maven'

- name: Set up build environment
run: |
# Disable gradle daemon
mkdir -p ~/.gradle
echo "org.gradle.daemon=false" >> ~/.gradle/gradle.properties
- name: Install Maven dependencies locally
id: publish-maven-local
run: |
Expand All @@ -24,7 +30,7 @@ jobs:
- name: Test JUnit example project
working-directory: ./examples/junit-sample
run: ./mvnw test -Dimposter.version=${steps.publish-maven-local.outputs.PUBLISHED_VERSION}
run: ./mvnw test -Dimposter.version=${{ steps.publish-maven-local.outputs.PUBLISHED_VERSION }}

- name: Publish Unit Test Results
if: always()
Expand Down

0 comments on commit fcef56f

Please sign in to comment.