-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'markuspoerschke:2.x' into 2.x
- Loading branch information
Showing
102 changed files
with
979 additions
and
1,058 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 |
---|---|---|
|
@@ -16,6 +16,8 @@ jobs: | |
- "8.0" | ||
- "8.1" | ||
- "8.2" | ||
- "8.3" | ||
- "8.4" | ||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v4" | ||
|
@@ -30,21 +32,31 @@ jobs: | |
run: 'echo "::set-output name=directory::$(composer config cache-dir)"' | ||
|
||
- name: "Cache dependencies installed with composer" | ||
uses: "actions/cache@v3.3.2" | ||
uses: "actions/cache@v4.0.2" | ||
with: | ||
path: "${{ steps.determine-composer-cache-directory.outputs.directory }}" | ||
key: "php-${{ matrix.php-version }}-composer-cache" | ||
|
||
- name: "Update Packages for PHP 8.0" | ||
if: ${{ matrix.php-version == '8.0' }} | ||
run: "composer up --prefer-lowest ocramius/package-versions symfony/*" | ||
|
||
- name: "Update Packages for PHP 7.4" | ||
if: ${{ matrix.php-version == '7.4' }} | ||
- name: "Install lowest available packages for PHP 7.4, 8.0 and 8.1" | ||
if: ${{ matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1' }} | ||
run: "composer up --prefer-lowest" | ||
|
||
- name: "Install packages for PHP 8.4" | ||
if: ${{ matrix.php-version == '8.4' }} | ||
run: "composer install --ignore-platform-reqs" | ||
|
||
- name: "Run tests (old PHP versions)" | ||
if: ${{ matrix.php-version == '7.4' || matrix.php-version == '8.0' || matrix.php-version == '8.1' }} | ||
run: "PHPUNIT_FLAGS=--no-coverage make test-phpunit test-psalm test-examples" | ||
|
||
- name: "Run tests" | ||
if: ${{ matrix.php-version == '8.2' || matrix.php-version == '8.3' }} | ||
run: "make -j -O test" | ||
|
||
- name: "Run tests (PHP 8.4)" | ||
if: ${{ matrix.php-version == '8.4' }} | ||
run: "make -j -O test-phpunit test-examples" | ||
|
||
- name: "Send code coverage" | ||
uses: codecov/[email protected] | ||
if: ${{ matrix.php-version == '8.3' }} | ||
uses: codecov/[email protected] |
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 |
---|---|---|
|
@@ -13,14 +13,14 @@ jobs: | |
token: ${{ secrets.PAT }} | ||
|
||
- name: Run php-cs-fixer | ||
uses: docker://oskarstark/php-cs-fixer-ga:3.0.0 | ||
uses: docker://oskarstark/php-cs-fixer-ga:3.26.0 | ||
|
||
- name: Run prettier | ||
uses: actionsx/prettier@v3 | ||
with: | ||
args: --write . | ||
|
||
- uses: stefanzweifel/git-auto-commit-action@v4.16.0 | ||
- uses: stefanzweifel/git-auto-commit-action@v5.0.1 | ||
with: | ||
commit_user_name: Markus Poerschke (Bot) | ||
commit_user_email: [email protected] | ||
|
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
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
Oops, something went wrong.