From 01bf1e21d96aa6a5b56e16f06be4de81107e6146 Mon Sep 17 00:00:00 2001
From: Sergey Bronnokov <sergeyb@tarantool.org>
Date: Fri, 7 Oct 2022 15:33:51 +0300
Subject: [PATCH] ci: enable code coverage job in default ci

Information about test code coverage is useful on code review.
This patch enables code coverage job in default ci.

NO_CHANGELOG=not a user-visible change
NO_DOC=not a user-visible change
NO_TEST=ci

(cherry picked from commit 66e388e86bd3810074bd79f1d8fa72518198d6db)
---
 .github/workflows/coverage.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index fe5679be1c..22f334cc35 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -34,10 +34,11 @@ concurrency:
 jobs:
   coverage:
     # Run on push to the 'master' and release branches of tarantool/tarantool
-    # or on pull request if the 'full-ci' label is set.
+    # or on pull request if the 'notest' label is not set.
     if: github.repository == 'tarantool/tarantool' &&
         ( github.event_name != 'pull_request' ||
-          contains(github.event.pull_request.labels.*.name, 'full-ci') )
+          ( github.event_name == 'pull_request' &&
+            !contains(github.event.pull_request.labels.*.name, 'notest') ) )
 
     runs-on: ubuntu-20.04-self-hosted
 
-- 
GitLab