diff options
author | Joas Schilling <coding@schilljs.com> | 2021-11-12 18:34:06 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-11-12 18:36:24 +0300 |
commit | 5fdf1691b644914a31ee62d9fed4d63c0e29427f (patch) | |
tree | aa453794686b6ceac860e1421694782e7e184fe2 /.github | |
parent | 10414b1d82855769d1fc937cbc7329247ddfed90 (diff) |
Only run unit tests when relevant
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/integration.yml | 6 | ||||
-rw-r--r-- | .github/workflows/phpunit.yml | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 02a3425..fd6f837 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -2,6 +2,12 @@ name: Integration on: pull_request: + paths: + - 'appinfo/**' + - 'lib/**' + - 'templates/**' + - 'tests/**' + push: branches: - master diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 40ad8c8..a101263 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -2,6 +2,12 @@ name: PHPUnit on: pull_request: + paths: + - 'appinfo/**' + - 'lib/**' + - 'templates/**' + - 'tests/**' + push: branches: - master |