mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-05-02 12:48:36 +02:00
Add kotlin-dsl sample to prod workflow tests
This commit is contained in:
parent
4032438d2b
commit
b5a08466b4
12 changed files with 423 additions and 0 deletions
26
.github/workflows/prod.yml
vendored
26
.github/workflows/prod.yml
vendored
|
@ -120,6 +120,32 @@ jobs:
|
|||
arguments: test --configuration-cache
|
||||
gradle-cache-enabled: read-only
|
||||
|
||||
# Use kotlin-dsl project to verify caching of generated jars and compiled scripts
|
||||
# At this stage there is no automated verification of this caching: eyeball the build scan to verify
|
||||
seed-kotlin-dsl-build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v2
|
||||
- name: Build kotlin-dsl project
|
||||
uses: ./
|
||||
with:
|
||||
build-root-directory: __tests__/samples/kotlin-dsl
|
||||
arguments: test
|
||||
|
||||
verify-kotlin-dsl-build:
|
||||
needs: seed-kotlin-dsl-build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v2
|
||||
- name: Build kotlin-dsl project
|
||||
uses: ./
|
||||
with:
|
||||
build-root-directory: __tests__/samples/kotlin-dsl
|
||||
arguments: test
|
||||
gradle-cache-enabled: read-only
|
||||
|
||||
# These build invocations are informational only, and are expected to fail
|
||||
failures:
|
||||
needs: seed-build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue