mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-22 00:01:05 -05:00
Add test for execution when no bundles are restored
This commit is contained in:
parent
7abf13ee48
commit
8b1f1a3817
1 changed files with 16 additions and 0 deletions
16
.github/workflows/integTest-caching.yml
vendored
16
.github/workflows/integTest-caching.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue