diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
new file mode 100644
index 0000000..03b8217
--- /dev/null
+++ b/.github/workflows/ci.yaml
@@ -0,0 +1,25 @@
+name: PullRequestTest
+
+on:
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ steps:
+ - name: checkout
+ uses: actions/checkout@v4.0.0
+
+ - name: Set up JDK 21
+ uses: actions/setup-java@v4.4.0
+ with:
+ java-version: '21'
+ distribution: 'temurin'
+
+ - name: Grant Permissions to mvnw
+ run: chmod +x mvnw
+
+ - name: Test
+ run: ./mvnw test
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index cb705c9..7b5ca2e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,6 +22,13 @@
1.18.36
provided
+
+
+ org.junit.jupiter
+ junit-jupiter
+ 5.11.3
+ test
+
diff --git a/src/test/java/com/allitov/AppTest.java b/src/test/java/com/allitov/AppTest.java
new file mode 100644
index 0000000..f9b7330
--- /dev/null
+++ b/src/test/java/com/allitov/AppTest.java
@@ -0,0 +1,15 @@
+package com.allitov;
+
+import org.junit.jupiter.api.DisplayName;
+import org.junit.jupiter.api.Test;
+
+import static org.junit.jupiter.api.Assertions.assertEquals;
+
+class AppTest {
+
+ @Test
+ @DisplayName("app test")
+ void test() {
+ assertEquals(4, 2 + 2);
+ }
+}