Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax <max@nextcloud.com>2022-05-01 06:22:34 +0300
committerMax <max@nextcloud.com>2022-05-19 18:14:26 +0300
commitdce4082459bd9855c80fcef76770ec0f8984fe64 (patch)
tree9b227cba95041e4508e87d5323d4f1dd3974d376 /.github
parent6b11ce90e8735ee1b3c293492c434a92562e96ed (diff)
ci: only run php unit tests when php files changed
They take 10 minutes to setup nextcloud and block available CI runners. This is particularly wasteful with javascript dependency updates. Dependabot will rebase the pending updates upon every push to the underlying branch. Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/phpunit.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml
index f3dfeb3df..0601611f2 100644
--- a/.github/workflows/phpunit.yml
+++ b/.github/workflows/phpunit.yml
@@ -2,10 +2,26 @@ name: PHPUnit
on:
pull_request:
+ paths:
+ - .github/workflows/phpunit.yml
+ - appinfo/**
+ - composer.*
+ - lib/**
+ - psalm.xml
+ - templates/**
+ - tests/**
push:
branches:
- master
- stable*
+ paths:
+ - .github/workflows/phpunit.yml
+ - appinfo/**
+ - composer.*
+ - lib/**
+ - psalm.xml
+ - templates/**
+ - tests/**
env:
APP_NAME: text