Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure Gradle cache is used between /bin/test-compile and /bin/test runs #82

Merged
merged 3 commits into from
Nov 26, 2020

Conversation

Malax
Copy link
Member

@Malax Malax commented Nov 26, 2020

On Heroku CI, /bin/test-compile compiles the sources, and tests are executed in /bin/test. An oversight prevented the Gradle cache from being used in /bin/test, causing a full recompile. This roughly doubled the time of CI runs.

Added test case in 11e2cef and confirmed that it fails on CI with the current implementation. Applied the workaround in 4625d12.

Review notes: A big chunk of this PR is a test fixture in test/spec/fixtures/test-ci-app.

Fixes #80, closes W-8428694

@Malax Malax merged commit 027507f into main Nov 26, 2020
@Malax Malax deleted the malax/fix-ci-build-cache branch November 26, 2020 08:58
@Malax Malax mentioned this pull request Nov 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

heroku CI: compilation during "test setup" and "test" fase
2 participants