mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-11-23 01:22:50 +00:00
Add workflow to run init-script tests
This commit is contained in:
parent
ea24a0ad75
commit
754892d4ae
1 changed files with 23 additions and 0 deletions
23
.github/workflows/ci-init-script-check.yml
vendored
Normal file
23
.github/workflows/ci-init-script-check.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
name: CI-init-script-check
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test-init-scripts:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout sources
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Setup Java
|
||||||
|
uses: actions/setup-java@v3
|
||||||
|
with:
|
||||||
|
distribution: temurin
|
||||||
|
java-version: 8
|
||||||
|
- name: Setup Gradle
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
cache-read-only: false # For testing, allow writing cache entries on non-default branches
|
||||||
|
- name: Run integration tests
|
||||||
|
working-directory: test/test-init-scripts
|
||||||
|
run: ./gradlew check
|
Loading…
Reference in a new issue