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
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup Java
|
|
|
|
uses: actions/setup-java@v3
|
|
|
|
with:
|
|
|
|
distribution: temurin
|
|
|
|
java-version: 8
|
|
|
|
- name: Setup Gradle
|
2023-08-21 22:36:46 +00:00
|
|
|
uses: gradle/gradle-build-action@v2.7.1 # 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
|