Skip to content

Commit e10ce23

Browse files
authored
Update deploy.yml
1 parent b705df5 commit e10ce23

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/deploy.yml

+21
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,27 @@ on:
66
workflow_dispatch:
77

88
jobs:
9+
run-test:
10+
name: Run Test
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
steps:
15+
- name: Checkout the repo
16+
uses: actions/checkout@v4
17+
18+
- name: Set up JDK 17
19+
uses: actions/setup-java@v4
20+
with:
21+
java-version: '17'
22+
distribution: 'corretto'
23+
24+
- name: Grant execute permission for gradlew
25+
run: chmod +x gradlew
26+
27+
- name: Run tests
28+
run: ./gradlew test
29+
930
build:
1031
name: Build Java Project
1132
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)