Skip to content

Commit 0edc651

Browse files
committed
Add github actions CI
1 parent b0a82a7 commit 0edc651

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
test:
11+
name: test
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v5
16+
17+
- name: Set up JDK
18+
uses: actions/setup-java@v5
19+
with:
20+
java-version: '17'
21+
distribution: 'temurin'
22+
23+
- name: Setup Gradle
24+
uses: gradle/actions/setup-gradle@v5
25+
with:
26+
build-root-directory: libpretixnfc
27+
28+
- name: Run Gradle
29+
run: ./gradlew clean check test build jar
30+
working-directory: libpretixnfc
31+
32+
- name: Codecov
33+
uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)