[Tarantool-patches] [PATCH] QA: freebasd -- filter out `-notest`
Alexander Turenko
alexander.turenko at tarantool.org
Fri Jul 16 21:55:21 MSK 2021
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 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
>
Thanks!
Replaced 'QA' prefix with 'github-ci'. Fixed the 'freebsd' typo.
Pushed to master, 2.8, 2.7, 1.10.
WBR, Alexander Turenko.
More information about the Tarantool-patches
mailing list