Skip to content

Commit

Permalink
tests: php 8.2, bump github action version (#449)
Browse files Browse the repository at this point in the history
* tests: adjust tests for php 8.2, use latest action versions

* tests: adjust tests for php 8.2, use latest action versions

* tests: adjust tests for php 8.2, use latest action versions

* tests: adjust tests for php 8.2, use latest action versions

* tests: adjust tests for php 8.2, use latest action versions

* tests: adjust tests for php 8.2, use latest action versions

---------

Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de>
Co-authored-by: Tobias Feijten <tobias93@live.nl>
  • Loading branch information
3 people committed Jul 4, 2023
1 parent bcee50e commit 551e0e3
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/code_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install JS dependencies
run: |
Expand All @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['8.0', '8.1']
php: ['8.0', '8.1', '8.2']
dependencies: [highest]
symfony: ['*']
include:
Expand All @@ -34,11 +34,11 @@ jobs:
symfony: '*'

# Minimum supported dependencies with the latest supported PHP version
- php: '8.1'
- php: '8.2'
dependencies: lowest
symfony: '*'

- php: '8.1'
- php: '8.2'
dependencies: highest
symfony: '*'

Expand All @@ -51,9 +51,13 @@ jobs:
- php: '8.0'
dependencies: highest
symfony: '6.0.*'

- php: '8.1'
dependencies: highest
symfony: '6.2.*'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -64,16 +68,16 @@ jobs:
if: matrix.symfony != '*'
run: |
composer global config --no-plugins allow-plugins.symfony/flex true
composer global require --no-interaction --no-progress symfony/flex:^1.11
composer global require --no-interaction --no-progress symfony/flex:^2.2
composer config extra.symfony.require ${{ matrix.symfony }}
- name: Update project dependencies
uses: ramsey/composer-install@v1
uses: ramsey/composer-install@v2
with:
dependency-versions: ${{ matrix.dependencies }}

- name: Cache PHPUnit
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: vendor/bin/.phpunit
key: ${{ runner.os }}-phpunit-${{ matrix.php }}
Expand Down

0 comments on commit 551e0e3

Please # to comment.