Skip to content

Commit 962b843

Browse files
committed
ci: only run tests when necessary
1 parent c799760 commit 962b843

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/tests.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
name: Run tests
22

33
on:
4-
- push
5-
- pull_request
4+
pull_request:
5+
push:
6+
paths:
7+
- '**.php'
8+
- '.github/workflows/tests.yml'
9+
- 'phpunit.xml.dist'
10+
- 'composer.json'
11+
- 'composer.lock'
612

713
jobs:
814
php-tests:

0 commit comments

Comments
 (0)