Skip to content

Commit

Permalink
ci: run phpstan, tests and code style on PR (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
vorban authored May 28, 2023
2 parents deebfeb + d9cd470 commit bcd750b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fix-php-code-style-issues.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Fix PHP code style issues

on:
push:
pull_request:
paths:
- '**.php'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: PHPStan

on:
push:
pull_request:
paths:
- '**.php'
- 'phpstan.neon.dist'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ name: run-tests
on:
push:
branches: [main]
paths:
- '**.php'
pull_request:
branches: [main]
paths:
- '**.php'

jobs:
test:
Expand Down

0 comments on commit bcd750b

Please sign in to comment.