-
Notifications
You must be signed in to change notification settings - Fork 5
48 lines (45 loc) · 1.41 KB
/
integration-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
name: integration-tests
on:
workflow_dispatch: {}
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
jobs:
integration-tests:
strategy:
fail-fast: false
matrix:
java: ["8"]
os: ["ubuntu-latest"]
runs-on: ${{ matrix.os }}
name: itest-${{ matrix.java }}
steps:
- name: checkout-openrewrite/spring-petclinic-migration
uses: actions/checkout@v4
with:
repository: openrewrite/spring-petclinic-migration
- name: setup-plugin-checkout-source
uses: actions/checkout@v4
with:
path: rewrite-gradle-plugin
- name: setup-plugin-setup-java-11
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
- name: setup-plugin-pTML
run: ./rewrite-gradle-plugin/gradlew --project-dir rewrite-gradle-plugin pTML
- name: setup-java-${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: ${{ matrix.java }}
- uses: gradle/actions/setup-gradle@v4
- name: run-validateRewrite
run: |
./gradlew \
--info \
--stacktrace \
--no-daemon \
--init-script /home/runner/work/rewrite-gradle-plugin/rewrite-gradle-plugin/rewrite-gradle-plugin/scripts/spring-petclinic-test.init.gradle \
validateRewrite