mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-26 02:52:09 +00:00
Ensure that test invocations are targeted at a specific use-case
- Remove the 'gradle --stop' step from the prod workflow. We either need to stop all instances started, or rely on GitHub to clean up processes on completion. - Remove configuration-cache and dependencies-cache from basic tests. We will later need to add tests invocations specific for these features.
This commit is contained in:
parent
18c8a679dc
commit
643092d2fc
1 changed files with 3 additions and 17 deletions
20
.github/workflows/prod.yml
vendored
20
.github/workflows/prod.yml
vendored
|
@ -14,34 +14,20 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Test wrapper
|
- name: Test use Gradle wrapper
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
build-root-directory: __tests__/data/basic
|
build-root-directory: __tests__/data/basic
|
||||||
dependencies-cache-enabled: true
|
|
||||||
configuration-cache-enabled: true
|
|
||||||
arguments: test
|
arguments: test
|
||||||
- name: Test custom wrapper location
|
- name: Test custom wrapper location
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
build-root-directory: __tests__/data/basic
|
build-root-directory: __tests__/data/basic
|
||||||
wrapper-directory: __tests__/data/basic
|
wrapper-directory: __tests__/data/basic
|
||||||
dependencies-cache-enabled: false
|
|
||||||
configuration-cache-enabled: false
|
|
||||||
arguments: test
|
arguments: test
|
||||||
- name: Test dist download
|
- name: Test use defined Gradle version
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
gradle-version: rc
|
gradle-version: rc
|
||||||
build-root-directory: __tests__/data/basic
|
build-root-directory: __tests__/data/basic
|
||||||
dependencies-cache-enabled: true
|
arguments: test
|
||||||
configuration-cache-enabled: true
|
|
||||||
arguments: test --configuration-cache
|
|
||||||
- name: Stop Gradle daemon
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
gradle-version: rc
|
|
||||||
build-root-directory: __tests__/data/basic
|
|
||||||
dependencies-cache-enabled: true
|
|
||||||
configuration-cache-enabled: true
|
|
||||||
arguments: --stop
|
|
||||||
|
|
Loading…
Reference in a new issue