-
Notifications
You must be signed in to change notification settings - Fork 3
46 lines (43 loc) · 1.44 KB
/
build.yaml
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
name: Run Gradle on PRs
on:
pull_request:
push:
branches: [main]
jobs:
prBranch:
timeout-minutes: 300
strategy:
matrix:
os: [ubuntu-latest,macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Execute Gradle build
run: ./gradlew test -PexcludeTests=*.InfoKotlinProcessPluginTest
env:
GE_URL: ${{ secrets.GE_URL }}
GE_API_KEY: ${{ secrets.GE_API_KEY }}
integrationJavaTests:
timeout-minutes: 300
strategy:
matrix:
os: [ubuntu-latest,macos-latest]
version: [11, 17, 19]
vendor: [temurin, zulu, liberica]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: ${{ matrix.vendor }}
java-version: ${{ matrix.version }}
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Execute Gradle build
run: ./gradlew test --tests io.github.cdsap.kotlinprocess.InfoKotlinProcessPluginTest