Add test for execution when no bundles are restored

This commit is contained in:
Daz DeBoer 2021-10-15 13:25:25 -06:00
parent 7abf13ee48
commit 8b1f1a3817
No known key found for this signature in database
GPG key ID: DD6B9F0B06683D5D

View file

@ -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