diff --git a/build/ci/.test.yml b/build/ci/.test.yml
index efed807928e398709144ad94fed27d22b157ed91..2acbd6230476b2f5b88918bb30ab34c4a4ca0de8 100644
--- a/build/ci/.test.yml
+++ b/build/ci/.test.yml
@@ -5,7 +5,7 @@ unit-test-master:
     - if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
     - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
   script:
-    - go test -race $(go list ./... | grep -v /vendor/) -v -coverprofile=coverage.out
+    - go test -race $(go list ./... | grep -v /forks/ | grep -v /api/ | grep -v /mocks ) -v -coverprofile=coverage.out
     - go tool cover -func=coverage.out
 
 
@@ -16,5 +16,6 @@ unit-test:
   rules:
     - if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH
   script:
-    - go test -race $(go list ./... | grep -v /vendor/) -v -coverprofile=coverage.out
+    - go test -race $(go list ./... | grep -v /forks/ | grep -v /api/ | grep -v /mocks ) -v -coverprofile=coverage.out
+  after_script:
     - go tool cover -func=coverage.out
\ No newline at end of file