summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-11-15 09:59:42 +0100
committerJoas Schilling <coding@schilljs.com>2021-11-15 09:59:42 +0100
commit0ad710e97fb3373b04410d360a19f0e86379354e (patch)
tree809bdceb2ab5e52a155fd0adca8b0c938ed913ae /.github
parent08fe2a24d1f32cb78e7d159c6074405ca208f5cb (diff)
Only run unit tests when php is affected
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/phpunit.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml
index 11465b351..68b3c26cb 100644
--- a/.github/workflows/phpunit.yml
+++ b/.github/workflows/phpunit.yml
@@ -2,6 +2,13 @@ name: PHPUnit
on:
pull_request:
+ paths:
+ - '.github/workflows/phpunit.yml'
+ - 'appinfo/**'
+ - 'lib/**'
+ - 'templates/**'
+ - 'tests/**'
+
push:
branches:
- master