diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 83cf6b83e415136c59010eaa200f374f3f8a385f..86b5b90413db33f6952fb0187f916e21ff8839b9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,10 +30,11 @@ test:
   script:
     - "./gradlew test"
   artifacts:
-    reports:
-      junit: "*/build/test-results/test/TEST-*.xml"
     paths:
-      - "src/gen/resources"
+      - "src/main/resources"
+    when: always
+    reports:
+      junit: build/test-results/test/**/TEST-*.xml
 
 ragdoc_build:
   image:
@@ -89,6 +90,4 @@ publish_package:
     - test
   script:
     - "./gradlew setDevVersionForCI"
-    - "./gradlew publish"
-  only:
-    - 8-create-maven-package
\ No newline at end of file
+    - "./gradlew publish"
\ No newline at end of file