From 8b1f1a38171b6ec35c8c7d536edcde9debb5194a Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Fri, 15 Oct 2021 13:25:25 -0600 Subject: [PATCH] Add test for execution when no bundles are restored --- .github/workflows/integTest-caching.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/integTest-caching.yml b/.github/workflows/integTest-caching.yml index 494f81d..f8eb7ea 100644 --- a/.github/workflows/integTest-caching.yml +++ b/.github/workflows/integTest-caching.yml @@ -82,3 +82,19 @@ jobs: build-root-directory: __tests__/samples/groovy-dsl arguments: test --configuration-cache cache-read-only: true + + # Check that the build can run when no bundles are restored + no-bundles-restored: + needs: seed-build + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v2 + - name: Execute Gradle build with no cache artifact bundles restored + uses: ./ + with: + build-root-directory: __tests__/samples/groovy-dsl + arguments: test + cache-artifact-bundles: '[]' + cache-read-only: true +