From 643092d2fc942161b38c5f1ab1d31076989f3950 Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Wed, 9 Jun 2021 11:48:43 -0600 Subject: [PATCH] Ensure that test invocations are targeted at a specific use-case - Remove the 'gradle --stop' step from the prod workflow. We either need to stop all instances started, or rely on GitHub to clean up processes on completion. - Remove configuration-cache and dependencies-cache from basic tests. We will later need to add tests invocations specific for these features. --- .github/workflows/prod.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index b9cd163..dd1352d 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -14,34 +14,20 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@v2 - - name: Test wrapper + - name: Test use Gradle wrapper uses: ./ with: build-root-directory: __tests__/data/basic - dependencies-cache-enabled: true - configuration-cache-enabled: true arguments: test - name: Test custom wrapper location uses: ./ with: build-root-directory: __tests__/data/basic wrapper-directory: __tests__/data/basic - dependencies-cache-enabled: false - configuration-cache-enabled: false arguments: test - - name: Test dist download + - name: Test use defined Gradle version uses: ./ with: gradle-version: rc build-root-directory: __tests__/data/basic - dependencies-cache-enabled: true - configuration-cache-enabled: true - arguments: test --configuration-cache - - name: Stop Gradle daemon - uses: ./ - with: - gradle-version: rc - build-root-directory: __tests__/data/basic - dependencies-cache-enabled: true - configuration-cache-enabled: true - arguments: --stop + arguments: test