Skip to content

Commit 387b5ac

Browse files
committed
Introduced pull request checks
1 parent 9f11863 commit 387b5ac

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Run Tests
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
- name: Setup JDK 17
15+
uses: actions/setup-java@v4
16+
with:
17+
distribution: 'temurin'
18+
java-version: 17
19+
cache: 'gradle'
20+
21+
- name: Grant execute Permissions for gradlew
22+
run: chmod +x gradlew
23+
24+
- name: Run unit tests
25+
run: ./gradlew clean testDebug

0 commit comments

Comments
 (0)