Skip to content

Commit

Permalink
feat: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfedr committed Apr 8, 2024
1 parent 39fd0bf commit 49669d8
Show file tree
Hide file tree
Showing 8 changed files with 828 additions and 949 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ on:

jobs:
tests:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
version:
- php: '8.0'
- php: '8.3'
symfony: '5.4'
- php: '8.0'
symfony: '6.0'
- php: '8.3'
symfony: '6.4'
- php: '8.3'
symfony: '7.0'
name: PHP ${{ matrix.version.php }} Symfony ${{ matrix.version.symfony }}
steps:
- uses: actions/checkout@v2
Expand All @@ -27,6 +29,6 @@ jobs:
composer config extra.symfony.require ${{ matrix.version.symfony }}
composer update
- run: vendor/bin/php-cs-fixer fix --dry-run --diff
- run: vendor/bin/phpunit
- run: vendor/bin/phpunit --exclude-group not-${{ matrix.version.symfony }}
env:
SYMFONY_DEPRECATIONS_HELPER: 'disabled=1'
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"require-dev": {
"symfony/phpunit-bridge": "^5.0|^6.0|^7.0",
"doctrine/doctrine-bundle": "^2",
"phpunit/phpunit": "^9",
"phpunit/phpunit": "^11",
"friendsofphp/php-cs-fixer": "^3.0",
"symfony/monolog-bundle": "^3.0|^4.0",
"symfony/browser-kit": "^5.0|^6.0|^7.0",
Expand Down
Loading

0 comments on commit 49669d8

Please sign in to comment.