Skip to content

Commit

Permalink
Restrict PHPUnit tests to run only for php files
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed Jul 29, 2024
1 parent 9cc0722 commit a872f48
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/phpunit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ on:
branches:
- main
pull_request:

paths:
- 'includes/**'
- 'test/**'
- '*.php'
- 'phpunit.xml.dist'
- 'composer.*'
jobs:
test-php:
name: ${{ matrix.php_versions }} on ${{ matrix.os }}
Expand Down

0 comments on commit a872f48

Please sign in to comment.