From 4eea383f746c46126ab7785ff106ae4b291ed9db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 7 Jul 2022 08:57:59 +0200 Subject: [PATCH] Limit php tests to certain fails on pull requests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .github/workflows/appbuild.yml | 6 +++++- .github/workflows/integration.yml | 8 ++++++++ .github/workflows/phpunit.yml | 8 ++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/appbuild.yml b/.github/workflows/appbuild.yml index 593ca4aaf..c1ac112d2 100644 --- a/.github/workflows/appbuild.yml +++ b/.github/workflows/appbuild.yml @@ -1,7 +1,11 @@ name: Package build on: - pull_request: + push: + branches: + - main + - master + - stable* jobs: build: diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index e46079ae9..30b8cbd1a 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -2,6 +2,14 @@ name: Integration tests on: pull_request: + paths: + - '.github/workflows/integration.yml' + - 'appinfo/**' + - 'lib/**' + - 'templates/**' + - 'tests/**' + - 'composer.json' + - 'composer.lock' push: branches: - master diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index da1991222..3e9127ebc 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -2,6 +2,14 @@ name: PHPUnit on: pull_request: + paths: + - '.github/workflows/phpunit.yml' + - 'appinfo/**' + - 'lib/**' + - 'templates/**' + - 'tests/**' + - 'composer.json' + - 'composer.lock' push: branches: - master