Skip to content

Commit 7e7e9a3

Browse files
committed
GitHub Actions: tests workflow
1 parent 763cb63 commit 7e7e9a3

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/tests.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Tests
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
7+
jobs:
8+
9+
build:
10+
name: Build
11+
runs-on: ubuntu-latest
12+
steps:
13+
14+
# Check out current repository
15+
- name: Fetch Sources
16+
uses: actions/[email protected]
17+
18+
# Validate wrapper
19+
- name: Gradle Wrapper Validation
20+
uses: gradle/[email protected]
21+
22+
# Setup Java 11 environment for the next steps
23+
- name: Setup Java
24+
uses: actions/setup-java@v2
25+
with:
26+
distribution: zulu
27+
java-version: 11
28+
cache: gradle
29+
30+
# Run tests
31+
- name: Run Tests
32+
run: ./gradlew test

0 commit comments

Comments
 (0)