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

Gradle cache usage added #998

Merged
merged 23 commits into from
Oct 4, 2022
Merged

Conversation

bissquit
Copy link
Member

Description

Adding Gradle cache usage

Fixes #974

Type of Change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Automated Testing

Build test has been run from a branch

Manual Scenario

At the developer machine it could be tested like this:

Run container:

docker run -it --name gradle-cache-test -v C:\path\to\repo\UTBotJava\:/UTBotJava --workdir /UTBotJava unittestbot/java-env:java11-zulu-jdk-gradle7.4.2-kotlinc1.7.0 /bin/bash

Run test as usual but don't forget to add --build-cache to reuse cache:

cd utbot-fuzzers
gradle --build-cache --no-daemon :utbot-fuzzers:test

Cache will be placed into ~/.gradle/caches

Checklist (remove irrelevant options):

This is the author self-check list

  • Run test from branch
  • If previous step is ok, change all related workflows to use cache

@bissquit bissquit added the ctg-enhancement New feature, improvement or change request label Sep 23, 2022
@bissquit bissquit self-assigned this Sep 23, 2022
Copy link
Member

@viktoriia-fomina viktoriia-fomina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bissquit bissquit merged commit 1ab8f2c into main Oct 4, 2022
@bissquit bissquit deleted the egor-vasiliev/test-gradle-cache-974 branch October 4, 2022 07:07
@alisevych alisevych added this to the 2022.10.1 Release milestone Oct 7, 2022
AbdullinAM pushed a commit to AbdullinAM/UTBotJava that referenced this pull request Oct 17, 2022
AbdullinAM pushed a commit to AbdullinAM/UTBotJava that referenced this pull request Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ctg-enhancement New feature, improvement or change request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Evaluate build execution time with Gradle caches
4 participants