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
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup Java
|
|
|
|
uses: actions/setup-java@v3
|
|
|
|
with:
|
|
|
|
distribution: temurin
|
|
|
|
java-version: 8
|
|
|
|
- name: Setup Gradle
|
2023-05-01 15:36:49 -04:00
|
|
|
uses: gradle/gradle-build-action@v2.4.2 # 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
|