-
Notifications
You must be signed in to change notification settings - Fork 2
31 lines (29 loc) · 741 Bytes
/
Copy pathci.yml
File metadata and controls
31 lines (29 loc) · 741 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
name: Continous Integration
on:
pull_request:
branches:
- master
jobs:
ci:
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
checks: write
contents: read
issues: read
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
cache: 'gradle'
- name: Execute clean build
run: ./gradlew clean build --no-daemon --info --stacktrace
- name: Publish Test Report
if: ${{ always() }}
uses: scacap/action-surefire-report@v1
with:
report_paths: '**/build/test-results/test/TEST-*.xml'