From 1a5adab6ac0c3afc4b9e940bbca9d421d647093b Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Mon, 28 Feb 2022 19:09:05 +0100 Subject: [PATCH] github/workflows: Split Gradle caches for jobs that run in parallel This is a try to solve the issue described in [1]. [1]: https://github.com/burrunan/gradle-cache-action/issues/40 Signed-off-by: Sebastian Schuberth --- .github/workflows/build-and-test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 4068f98652081..1d583dc947404 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -43,6 +43,7 @@ jobs: - name: Build the reporter-web-app uses: burrunan/gradle-cache-action@v1 with: + job-id: build-reporter-web-app arguments: --stacktrace :reporter-web-app:yarnBuild test: needs: build @@ -59,6 +60,7 @@ jobs: - name: Run unit tests uses: burrunan/gradle-cache-action@v1 with: + job-id: test arguments: test jacocoTestReport -x :reporter-web-app:yarnBuild - name: Upload code coverage data uses: codecov/codecov-action@v2 @@ -91,6 +93,7 @@ jobs: - name: Run functional tests uses: burrunan/gradle-cache-action@v1 with: + job-id: funTest-non-analyzer arguments: funTest jacocoFunTestReport -x :analyzer:funTest - name: Upload code coverage data uses: codecov/codecov-action@v2 @@ -128,6 +131,7 @@ jobs: - name: Run functional tests uses: burrunan/gradle-cache-action@v1 with: + job-id: funTest-analyzer-no-docker arguments: :analyzer:funTest :analyzer:jacocoFunTestReport -Dkotest.tags=NoDockerTag - name: Upload code coverage data uses: codecov/codecov-action@v2