Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH] QA: freebasd -- filter out `-notest`
@ 2021-07-16 15:48 Cyrill Gorcunov via Tarantool-patches
  2021-07-16 15:50 ` Cyrill Gorcunov via Tarantool-patches
  2021-07-16 18:55 ` Alexander Turenko via Tarantool-patches
  0 siblings, 2 replies; 3+ messages in thread
From: Cyrill Gorcunov via Tarantool-patches @ 2021-07-16 15:48 UTC (permalink / raw)
  To: tml; +Cc: Alexander Turenko

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@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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Tarantool-patches] [PATCH] QA: freebasd -- filter out `-notest`
  2021-07-16 15:48 [Tarantool-patches] [PATCH] QA: freebasd -- filter out `-notest` Cyrill Gorcunov via Tarantool-patches
@ 2021-07-16 15:50 ` Cyrill Gorcunov via Tarantool-patches
  2021-07-16 18:55 ` Alexander Turenko via Tarantool-patches
  1 sibling, 0 replies; 3+ messages in thread
From: Cyrill Gorcunov via Tarantool-patches @ 2021-07-16 15:50 UTC (permalink / raw)
  To: tml; +Cc: Alexander Turenko

On Fri, Jul 16, 2021 at 06:48:53PM +0300, Cyrill Gorcunov wrote:
> We use `-notest` postfix when wanna share
> the code only, without running tests. And
> for FreeBSD template the snippet has been
> missed. Add it.

The subject has typo "freebasd" -> "freebsd", please update
it inplace.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Tarantool-patches] [PATCH] QA: freebasd -- filter out `-notest`
  2021-07-16 15:48 [Tarantool-patches] [PATCH] QA: freebasd -- filter out `-notest` Cyrill Gorcunov via Tarantool-patches
  2021-07-16 15:50 ` Cyrill Gorcunov via Tarantool-patches
@ 2021-07-16 18:55 ` Alexander Turenko via Tarantool-patches
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Turenko via Tarantool-patches @ 2021-07-16 18:55 UTC (permalink / raw)
  To: Cyrill Gorcunov; +Cc: tml

On Fri, Jul 16, 2021 at 06:48:53PM +0300, Cyrill Gorcunov wrote:
> 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@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
> 

Thanks!

Replaced 'QA' prefix with 'github-ci'. Fixed the 'freebsd' typo.

Pushed to master, 2.8, 2.7, 1.10.

WBR, Alexander Turenko.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-16 18:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-16 15:48 [Tarantool-patches] [PATCH] QA: freebasd -- filter out `-notest` Cyrill Gorcunov via Tarantool-patches
2021-07-16 15:50 ` Cyrill Gorcunov via Tarantool-patches
2021-07-16 18:55 ` Alexander Turenko via Tarantool-patches

Tarantool development patches archive

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lists.tarantool.org/tarantool-patches/0 tarantool-patches/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 tarantool-patches tarantool-patches/ https://lists.tarantool.org/tarantool-patches \
		tarantool-patches@dev.tarantool.org.
	public-inbox-index tarantool-patches

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git