2022-06-04 22:18:43 -06:00
|
|
|
name: CI-init-script-check
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2022-06-11 09:19:56 -06:00
|
|
|
paths:
|
2022-06-14 11:36:18 -06:00
|
|
|
- '.github/workflows/ci-init-script-check.yml'
|
2022-06-11 09:19:56 -06:00
|
|
|
- 'src/resources/init-scripts/**'
|
2022-06-14 11:36:18 -06:00
|
|
|
- 'test/init-scripts/**'
|
2022-06-11 09:19:56 -06:00
|
|
|
workflow_dispatch:
|
2022-06-04 22:18:43 -06:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
test-init-scripts:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout sources
|
2023-09-04 22:34:02 +00:00
|
|
|
uses: actions/checkout@v4
|
2022-06-04 22:18:43 -06:00
|
|
|
- name: Setup Java
|
2023-12-04 22:49:40 +00:00
|
|
|
uses: actions/setup-java@v4
|
2022-06-04 22:18:43 -06:00
|
|
|
with:
|
|
|
|
distribution: temurin
|
|
|
|
java-version: 8
|
|
|
|
- name: Setup Gradle
|
2024-01-25 10:21:22 -07:00
|
|
|
uses: gradle/gradle-build-action@v2.12.0 # Use a released version to avoid breakages
|
2022-06-04 22:18:43 -06:00
|
|
|
- name: Run integration tests
|
2022-06-11 09:13:13 -06:00
|
|
|
working-directory: test/init-scripts
|
2022-06-04 22:18:43 -06:00
|
|
|
run: ./gradlew check
|