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