[Tarantool-patches] [PATCH] QA: freebasd -- filter out `-notest`

Cyrill Gorcunov gorcunov at gmail.com
Fri Jul 16 18:48:53 MSK 2021


We use `-notest` postfix when wanna share
the code only, without running tests. And
for FreeBSD template the snippet has been
missed. Add it.

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 .github/workflows/freebsd.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml
index 78f10f02c..453fdd335 100644
--- a/.github/workflows/freebsd.yml
+++ b/.github/workflows/freebsd.yml
@@ -14,8 +14,9 @@ name: freebsd
   freebsd:
     # We want to run on external PRs, but not on our own internal PRs
     # as they'll be run by the push to the branch.
-    if: github.event_name == 'push' ||
-        github.event.pull_request.head.repo.full_name != github.repository
+    if: ( github.event_name == 'push' ||
+        github.event.pull_request.head.repo.full_name != github.repository ) &&
+        ! endsWith(github.ref, '-notest')
 
     runs-on: freebsd-sh
 
-- 
2.31.1



More information about the Tarantool-patches mailing list