diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4eb80e8efeb630215e3e8769680156eb56eeba64..8a14de1717ad6b7dfdf4037049ad07042f78388b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,10 +1,15 @@
 image: alash325/javaant:latest
 stages:
   - build
+  - test
 build:
   stage: build
   script:
     - ant build
+test:
+  stage: test
+  script:
+    - ant -lib test/lib/junit.jar -Dtest=AllTests testall
   artifacts:
     paths:
-      - ./lab5.*
+      - ./build/report/index.html