-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a7bc29
commit 7a4c80f
Showing
5 changed files
with
373 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.idea | ||
.tmp | ||
vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: PHP CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
coding-standards: | ||
name: Coding Standards | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php: [8.3] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
tools: composer, phpunit, xdebug | ||
- name: Install dependencies | ||
run: composer install --prefer-dist --no-progress --no-suggest | ||
- name: Run Coding Standards Check | ||
run: composer run cs | ||
|
||
phpstan: | ||
name: PHPStan | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php: [8.3] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
tools: composer, phpunit, xdebug | ||
- name: Install dependencies | ||
run: composer install --prefer-dist --no-progress --no-suggest | ||
- name: Run PHPStan | ||
run: composer run phpstan | ||
|
||
phpunit: | ||
name: PHPUnit Tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php: [8.3] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
tools: composer, phpunit, xdebug | ||
- name: Install dependencies | ||
run: composer install --prefer-dist --no-progress --no-suggest | ||
- name: Run PHPUnit Tests | ||
run: composer run phpunit | ||
|
||
infection: | ||
name: Infection PHP | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php: [8.3] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
tools: composer, phpunit, xdebug | ||
- name: Install dependencies | ||
run: composer install --prefer-dist --no-progress --no-suggest | ||
- name: Run Infection PHP | ||
run: composer run infection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.