2022-06-05 04:18:43 +00:00
|
|
|
name: CI-init-script-check
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2022-06-11 15:19:56 +00:00
|
|
|
paths:
|
2022-06-14 17:36:18 +00:00
|
|
|
- '.github/workflows/ci-init-script-check.yml'
|
2022-06-11 15:19:56 +00:00
|
|
|
- 'src/resources/init-scripts/**'
|
2022-06-14 17:36:18 +00:00
|
|
|
- 'test/init-scripts/**'
|
2022-06-11 15:19:56 +00:00
|
|
|
workflow_dispatch:
|
2022-06-05 04:18:43 +00: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-05 04:18:43 +00:00
|
|
|
- name: Setup Java
|
2023-12-04 22:49:40 +00:00
|
|
|
uses: actions/setup-java@v4
|
2022-06-05 04:18:43 +00:00
|
|
|
with:
|
|
|
|
distribution: temurin
|
|
|
|
java-version: 8
|
|
|
|
- name: Setup Gradle
|
2023-12-18 22:59:47 +00:00
|
|
|
uses: gradle/gradle-build-action@v2.11.0 # Use a released version to avoid breakages
|
2022-06-05 04:18:43 +00:00
|
|
|
- name: Run integration tests
|
2022-06-11 15:13:13 +00:00
|
|
|
working-directory: test/init-scripts
|
2022-06-05 04:18:43 +00:00
|
|
|
run: ./gradlew check
|