-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (44 loc) · 1.47 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
47
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@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Execute Gradle build
run: ./gradlew test -PexcludeTests=*.InfoGradleProcessPluginTest
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, liberica]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: ${{ matrix.vendor }}
java-version: ${{ matrix.version }}
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Execute Gradle build
run: |
./gradlew test --tests io.github.cdsap.gradleprocess.InfoGradleProcessPluginTest --info --stacktrace