Skip to content

Commit

Permalink
Merge pull request #2356 from nextcloud/ci/only-run-phpunit-when-php-…
Browse files Browse the repository at this point in the history
…changed

ci: only run php unit tests when php files changed
  • Loading branch information
max-nextcloud authored May 2, 2022
2 parents 02d6ceb + 6e2ac76 commit edf6e48
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit edf6e48

Please sign in to comment.