Skip to content

Commit

Permalink
Support CI in PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
xHeaven committed Dec 26, 2024
1 parent e5c84f9 commit bd12e43
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/fix-php-code-style-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
paths:
- '**.php'
pull_request:
paths:
- '**.php'

permissions:
contents: write
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
- '**.php'
- 'phpstan.neon.dist'
- '.github/workflows/phpstan.yml'
pull_request:
paths:
- '**.php'
- 'phpstan.neon.dist'
- '.github/workflows/phpstan.yml'

jobs:
phpstan:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ on:
- 'phpunit.xml.dist'
- 'composer.json'
- 'composer.lock'
pull_request:
paths:
- '**.php'
- '.github/workflows/run-tests.yml'
- 'phpunit.xml.dist'
- 'composer.json'
- 'composer.lock'

jobs:
test:
Expand Down

0 comments on commit bd12e43

Please sign in to comment.