From 4284d1eb9997033c0759844850b10e353d0bb750 Mon Sep 17 00:00:00 2001 From: wpvip-plugins-bot <138218436+wpvip-plugins-bot@users.noreply.github.com> Date: Sat, 1 Jul 2023 17:58:19 +0000 Subject: [PATCH] Update file(s) from Automattic/wpvip-plugins-.github --- .editorconfig | 6 +++--- .github/workflows/behat-test.yml | 27 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/behat-test.yml diff --git a/.editorconfig b/.editorconfig index 01638729..089d5461 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,5 +1,5 @@ -# This file is for unifying the coding style for different editors and IDEs. -# It is based on https://core.trac.wordpress.org/browser/trunk/.editorconfig. +# This file is for unifying the coding style for different editors and IDEs +# It is based on https://core.trac.wordpress.org/browser/trunk/.editorconfig # See https://editorconfig.org for more information about the standard. # WordPress Coding Standards @@ -14,7 +14,7 @@ insert_final_newline = true trim_trailing_whitespace = true indent_style = tab -[*.yml] +[{*.yml,*.feature}] indent_style = space indent_size = 2 diff --git a/.github/workflows/behat-test.yml b/.github/workflows/behat-test.yml new file mode 100644 index 00000000..f4d8a21e --- /dev/null +++ b/.github/workflows/behat-test.yml @@ -0,0 +1,27 @@ +name: Behat Testing + +on: + push: + paths: + - '.github/workflows/behat-test.yml' + - '**.php' + - '**.feature' + - 'behat.yml' + - 'composer.json' + pull_request: + paths: + - '.github/workflows/behat-test.yml' + - '**.php' + - '**.feature' + - 'behat.yml' + - 'composer.json' + types: + - opened + - reopened + - synchronize + + workflow_dispatch: + +jobs: + behat: + uses: automattic/wpvip-plugins-.github/.github/workflows/reusable-behat-test.yml@trunk