-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (32 loc) · 821 Bytes
/
Copy pathCI.yaml
File metadata and controls
36 lines (32 loc) · 821 Bytes
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
name: "CI"
on:
# push:
# branches:
# - '*'
# - '!master'
pull_request:
types: [opened, reopened, edited, synchronize]
jobs:
build:
name: "Build"
runs-on: ubuntu-latest
steps:
- name: "Check out the code"
uses: actions/checkout@master
- name: "Set up Java"
uses: actions/setup-java@master
with:
java-version: '21'
distribution: 'zulu'
- name: "Build and test"
run: ./gradlew --no-daemon build
- name: "Test Report"
uses: dorny/test-reporter@v2
if: success() || failure()
with:
name: "Gradle Tests"
path: build/test-results/test/*.xml
reporter: java-junit
fail-on-error: true
fail-on-empty: 'true'
use-actions-summary: 'true'