Skip to content

Commit cee4341

Browse files
committed
Started jobs to add a workflow to automate the testing process of the library
1 parent 92ba730 commit cee4341

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Run JCalc Tests
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Check the code
15+
uses: actions/checkout@v4
16+
17+
- name: Setup JDK
18+
uses: actions/setup-java@v4
19+
with:
20+
distribution: 'temurin'
21+
java-version: '11'
22+
23+
- name: Setup Gradle
24+
uses: gradle/actions/setup-gradle@v4
25+
26+
- name: Run JUnit tests
27+
run: ./gradlew test

0 commit comments

Comments
 (0)