-
-
Notifications
You must be signed in to change notification settings - Fork 4
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 #18 from Kocal/17-sf-7.1-7.2
Ensure Symfony 7.1 and 7.2 are supported, close #7
- Loading branch information
Showing
1 changed file
with
28 additions
and
5 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 |
---|---|---|
|
@@ -61,12 +61,28 @@ jobs: | |
- PHP_VERSION: '8.4' | ||
SYMFONY_VERSION: '7.0' | ||
|
||
# Latest 7.1 stable releases | ||
- PHP_VERSION: '8.2' | ||
SYMFONY_VERSION: '7.1' | ||
- PHP_VERSION: '8.3' | ||
SYMFONY_VERSION: '7.1' | ||
- PHP_VERSION: '8.4' | ||
SYMFONY_VERSION: '7.1' | ||
|
||
# Latest 7.2 stable releases | ||
- PHP_VERSION: '8.2' | ||
SYMFONY_VERSION: '7.2' | ||
- PHP_VERSION: '8.3' | ||
SYMFONY_VERSION: '7.2' | ||
- PHP_VERSION: '8.4' | ||
SYMFONY_VERSION: '7.2' | ||
|
||
# Highest supported PHP version with the latest Symfony version, on Windows and macOS | ||
- PHP_VERSION: '8.4' | ||
SYMFONY_VERSION: '7.0' | ||
SYMFONY_VERSION: '7.2' | ||
OS: windows-latest | ||
- PHP_VERSION: '8.4' | ||
SYMFONY_VERSION: '7.0' | ||
SYMFONY_VERSION: '7.2' | ||
OS: macos-14 | ||
|
||
# Latest 7.x development releases | ||
|
@@ -107,7 +123,7 @@ jobs: | |
|
||
- name: Run PHPUnit | ||
run: symfony php vendor/bin/phpunit | ||
|
||
e2e: | ||
name: E2E | ||
runs-on: ubuntu-latest | ||
|
@@ -128,7 +144,7 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "Hugo Alliaume" | ||
symfony new my_app --webapp | ||
- name: Install kocal/biome-js-bundle | ||
run: | | ||
symfony composer config minimum-stability dev | ||
|
@@ -146,6 +162,13 @@ jobs: | |
"public/bundles/*", | ||
"vendor/*" | ||
] | ||
}, | ||
"linter": { | ||
"rules" :{ | ||
"suspicious": { | ||
"noAssignInExpressions": "off" | ||
} | ||
} | ||
} | ||
} | ||
EOF | ||
|
@@ -157,7 +180,7 @@ jobs: | |
working-directory: my_app | ||
|
||
- name: Run Biome Check, and apply fixes | ||
run: symfony console biomejs:check . --write | ||
run: symfony console biomejs:check . --write --unsafe | ||
working-directory: my_app | ||
|
||
- name: Run Biome CI, which should now pass | ||
|