-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from Crell/v2
Tukio v2
- Loading branch information
Showing
86 changed files
with
2,283 additions
and
1,201 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,41 @@ | ||
--- | ||
name: Quality assurance | ||
on: | ||
push: | ||
branches: ['master'] | ||
pull_request: ~ | ||
|
||
jobs: | ||
phpunit: | ||
name: PHPUnit tests on ${{ matrix.php }} ${{ matrix.composer-flags }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php: [ '8.1', '8.2', '8.3' ] | ||
composer-flags: [ '' ] | ||
phpunit-flags: [ '--coverage-text' ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
coverage: xdebug | ||
tools: composer:v2 | ||
- run: composer install --no-progress ${{ matrix.composer-flags }} | ||
- run: vendor/bin/phpunit ${{ matrix.phpunit-flags }} | ||
phpstan: | ||
name: PHPStan checks on ${{ matrix.php }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php: [ '8.1', '8.2', '8.3' ] | ||
composer-flags: [ '' ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: ${{ matrix.php }} | ||
coverage: xdebug | ||
tools: composer:v2 | ||
- run: composer install --no-progress ${{ matrix.composer-flags }} | ||
- run: vendor/bin/phpstan |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,5 +2,7 @@ build | |
composer.lock | ||
vendor | ||
.phpunit.result.cache | ||
.phpunit.cache | ||
/vendor-bin/**/vendor | ||
.env | ||
.idea |
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.