Skip to content

Commit

Permalink
Merge pull request #18 from Kocal/17-sf-7.1-7.2
Browse files Browse the repository at this point in the history
Ensure Symfony 7.1 and 7.2 are supported, close #7
  • Loading branch information
Kocal authored Nov 29, 2024
2 parents 78de28a + 55195c8 commit f42ab9f
Showing 1 changed file with 28 additions and 5 deletions.
33 changes: 28 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -107,7 +123,7 @@ jobs:

- name: Run PHPUnit
run: symfony php vendor/bin/phpunit

e2e:
name: E2E
runs-on: ubuntu-latest
Expand All @@ -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
Expand All @@ -146,6 +162,13 @@ jobs:
"public/bundles/*",
"vendor/*"
]
},
"linter": {
"rules" :{
"suspicious": {
"noAssignInExpressions": "off"
}
}
}
}
EOF
Expand All @@ -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
Expand Down

0 comments on commit f42ab9f

Please sign in to comment.