-
Notifications
You must be signed in to change notification settings - Fork 9
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 #351 from TravisCarden/feature/symfony-7
Make compatible with Symfony 7
- Loading branch information
Showing
4 changed files
with
32 additions
and
35 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 |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
- name: "Set up PHP" | ||
uses: shivammathur/setup-php@v2 # https://github.com/marketplace/actions/setup-php-action | ||
with: | ||
php-version: "8.1" | ||
php-version: "8.2" | ||
coverage: none | ||
|
||
- name: "Checkout code" | ||
|
@@ -41,28 +41,28 @@ jobs: | |
run: "composer static" | ||
|
||
tests: | ||
name: "Test: ${{ matrix.os }} / deps-${{ matrix.dependencies }}" | ||
runs-on: "${{ matrix.os }}" | ||
name: "Test: ${{ matrix.os }} / ${{ matrix.php }} / ${{ matrix.dependencies }}" | ||
runs-on: "${{ matrix.os }}-latest" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ ubuntu-latest, macos-latest, windows-latest ] | ||
php: [ "8.1" ] | ||
os: [ ubuntu, macos, windows ] | ||
php: [ "8.1", "8.2" ] | ||
dependencies: [ lowest, highest ] | ||
steps: | ||
- name: "Install rsync" | ||
uses: GuillaumeFalourd/[email protected] # https://github.com/marketplace/actions/setup-rsync | ||
|
||
- name: "Set up PHP w/ Coverage" | ||
if: ${{ matrix.os == 'ubuntu-latest' && matrix.dependencies == 'highest' }} | ||
if: ${{ matrix.os == 'ubuntu' && matrix.dependencies == 'highest' }} | ||
uses: shivammathur/setup-php@v2 # https://github.com/marketplace/actions/setup-php-action | ||
with: | ||
php-version: "${{ matrix.php }}" | ||
extensions: gd | ||
ini-values: assert.active=1, assert.exception=1, zend.assertions=1 | ||
|
||
- name: "Set up PHP w/o Coverage" | ||
if: ${{ !( matrix.os == 'ubuntu-latest' && matrix.dependencies == 'highest' ) }} | ||
if: ${{ !( matrix.os == 'ubuntu' && matrix.dependencies == 'highest' ) }} | ||
uses: shivammathur/setup-php@v2 # https://github.com/marketplace/actions/setup-php-action | ||
with: | ||
php-version: "${{ matrix.php }}" | ||
|
@@ -85,33 +85,32 @@ jobs: | |
|
||
- name: "Run core tests with coverage" | ||
run: "composer test" | ||
if: ${{ matrix.os == 'ubuntu-latest' && matrix.dependencies == 'highest' }} | ||
if: ${{ matrix.os == 'ubuntu' && matrix.dependencies == 'highest' }} | ||
|
||
# There's no reason to generate coverage data on multiple jobs--the result should be the same. | ||
- name: "Run core tests without coverage" | ||
run: "./vendor/bin/phpunit --no-coverage --exclude-group=windows_only" | ||
if: ${{ runner.os != 'Windows' && !( matrix.os == 'ubuntu-latest' && matrix.dependencies == 'highest' ) }} | ||
if: ${{ runner.os != 'Windows' && !( matrix.os == 'ubuntu' && matrix.dependencies == 'highest' ) }} | ||
|
||
- name: "Run Windows tests" | ||
run: "./vendor/bin/phpunit --no-coverage --exclude-group=no_windows" | ||
if: ${{ runner.os == 'Windows' }} | ||
|
||
performance: | ||
name: "Performance: ${{ matrix.os }}" | ||
runs-on: "${{ matrix.os }}" | ||
runs-on: "${{ matrix.os }}-latest" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ ubuntu-latest, windows-latest ] | ||
php: [ "8.1" ] | ||
os: [ ubuntu, windows ] | ||
steps: | ||
- name: "Install rsync" | ||
uses: GuillaumeFalourd/[email protected] # https://github.com/marketplace/actions/setup-rsync | ||
|
||
- name: "Set up PHP" | ||
uses: shivammathur/setup-php@v2 # https://github.com/marketplace/actions/setup-php-action | ||
with: | ||
php-version: "8.1" | ||
php-version: "8.2" | ||
coverage: none | ||
|
||
- name: "Checkout code" | ||
|
@@ -130,7 +129,7 @@ jobs: | |
- name: "Set up PHP" | ||
uses: shivammathur/setup-php@v2 # https://github.com/marketplace/actions/setup-php-action | ||
with: | ||
php-version: "8.1" | ||
php-version: "8.2" | ||
extensions: gd | ||
ini-values: assert.active=1, assert.exception=1, zend.assertions=1 | ||
|
||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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