forked from paytrail/paytrail-php-sdk
-
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.
Merge pull request #1 from paytrail/master
CL-788 Update Paytrail SDK fork
- Loading branch information
Showing
84 changed files
with
2,226 additions
and
1,023 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,46 @@ | ||
name: Run Checks | ||
|
||
on: | ||
- push | ||
- pull_request | ||
- fork | ||
|
||
jobs: | ||
run-checks: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
continue-on-error: ${{ matrix.experimental }} | ||
strategy: | ||
matrix: | ||
php-version: ['7.3', '7.4', '8.0', '8.1', '8.2'] | ||
experimental: [false] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Validate Composer Files | ||
run: composer validate --strict | ||
|
||
- name: Run composer install | ||
uses: php-actions/composer@v6 | ||
with: | ||
php_version: ${{ matrix.php-version }} | ||
|
||
- name: Run linter | ||
run: composer lint | ||
|
||
- name: Run phpstan | ||
uses: php-actions/phpstan@v3 | ||
with: | ||
php_version: ${{ matrix.php-version }} | ||
version: 1.9.14 | ||
configuration: phpstan.neon | ||
memory_limit: 256M | ||
|
||
- name: Run tests | ||
uses: php-actions/phpunit@v3 | ||
with: | ||
php_version: ${{ matrix.php-version }} | ||
version: 9 | ||
configuration: phpunit.xml |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
.phpunit.result.cache | ||
test-reports/ | ||
composer.lock | ||
composer.lock | ||
*.cache |
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
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
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
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,5 @@ | ||
parameters: | ||
level: 3 | ||
paths: | ||
- src | ||
- tests |
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.