From 0049ff9a7042ec4f5b8d2d2a5a1997f93882c3f0 Mon Sep 17 00:00:00 2001 From: Luca Tumedei Date: Fri, 15 Sep 2023 12:11:55 +0200 Subject: [PATCH] build(.github) refine test run conditions --- .github/workflows/static-analysis.yaml | 7 ++++++- .github/workflows/test.yaml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/static-analysis.yaml b/.github/workflows/static-analysis.yaml index 9176f6c0e..be25232f4 100644 --- a/.github/workflows/static-analysis.yaml +++ b/.github/workflows/static-analysis.yaml @@ -1,5 +1,10 @@ name: Static Analysis -on: [ push ] +on: + push: + paths: + - "src/**" + - "tests/**" + - "composer.json" jobs: lint-on-56: name: PHP 5.6 lint diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5fd6244ab..695f59ddb 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,5 +1,10 @@ name: Test -on: [ push ] +on: + push: + paths: + - "src/**" + - "tests/**" + - "composer.json" jobs: test_codeception_4_php_56: name: PHP 5.6, Codeception 4