From 18f460262503d1fb65d2186c9a36e70b06740277 Mon Sep 17 00:00:00 2001
From: Manuel Kieweg <manuel.kieweg@h-da.de>
Date: Wed, 28 Apr 2021 18:32:18 +0200
Subject: [PATCH] remove controller test from coverage

---
 build/ci/.test.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/build/ci/.test.yml b/build/ci/.test.yml
index 234d56377..dd4f07a0a 100644
--- a/build/ci/.test.yml
+++ b/build/ci/.test.yml
@@ -34,16 +34,16 @@ integration-test:
     - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
     - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
       allow_failure: true
-  after_script:
-    - go tool cover -func=coverage.out
 
 unit-test:
   script:
     - go test -short -race $(go list ./... | grep -v /forks/ | grep -v /api/ | grep -v /mocks ) -v -coverprofile=coverage.out
+  after_script:
+    - go tool cover -func=coverage.out
   <<: *test
 
 controller-test:
   script:
     - cd ./nucleus
-    - go test -race -v -run TestRun -coverprofile=../coverage.out
+    - go test -race -v -run TestRun
   <<: *test
\ No newline at end of file
-- 
GitLab