mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-11-04 01:28:56 +08:00
Add test for execution when no bundles are restored
This commit is contained in:
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
|
build-root-directory: __tests__/samples/groovy-dsl
|
||||||
arguments: test --configuration-cache
|
arguments: test --configuration-cache
|
||||||
cache-read-only: true
|
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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user