Skip to content

Commit 07ef733

Browse files
committed
Added README.md and GitHub CI
1 parent 1b0ec0e commit 07ef733

4 files changed

Lines changed: 417 additions & 0 deletions

File tree

.github/workflows/master.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI Master
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
schedule:
8+
- cron: 0 0 * * 0
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
java: [ '21' ]
16+
name: Master Java ${{ matrix.java }} action
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
- name: Set up JDK
21+
uses: actions/setup-java@v3
22+
with:
23+
java-version: ${{ matrix.java }}
24+
distribution: 'adopt'
25+
26+
- name: Build
27+
run: './gradlew classes'
28+
29+
- name: Test
30+
run: './gradlew test jacocoTestReport testCodeCoverageReport'

.github/workflows/pull-request.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI Pull Request
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
- dev
8+
9+
10+
permissions:
11+
checks: write
12+
pull-requests: write
13+
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
strategy:
19+
matrix:
20+
java: [ '21' ]
21+
name: Pull Request Java ${{ matrix.java }} action
22+
23+
steps:
24+
- uses: actions/checkout@v3
25+
- name: Set up JDK
26+
uses: actions/setup-java@v3
27+
with:
28+
java-version: ${{ matrix.java }}
29+
distribution: 'adopt'
30+
31+
- name: Code Style
32+
run: './gradlew spotlessCheck'
33+
34+
- name: Build
35+
run: './gradlew classes'
36+
37+
- name: Test
38+
run: './gradlew test jacocoTestReport testCodeCoverageReport'

0 commit comments

Comments
 (0)