Skip to content

Commit e18b37c

Browse files
committed
ci configured
1 parent a0ee2af commit e18b37c

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
concurrency:
9+
group: ci-${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
build:
14+
name: Build and test
15+
runs-on: macos-latest
16+
timeout-minutes: 60
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Set up JDK 17
23+
uses: actions/setup-java@v4
24+
with:
25+
distribution: temurin
26+
java-version: 17
27+
28+
- name: Set up Gradle
29+
uses: gradle/actions/setup-gradle@v4
30+
31+
- name: Make Gradle wrapper executable
32+
run: chmod +x ./gradlew
33+
34+
- name: Build
35+
run: ./gradlew build --stacktrace
36+
37+
- name: Run all tests
38+
run: ./gradlew allTests --stacktrace

0 commit comments

Comments
 (0)