Skip to content

Commit

Permalink
Merge pull request #28 from ekreative/tests
Browse files Browse the repository at this point in the history
feat: update tests
  • Loading branch information
mcfedr authored Apr 8, 2024
2 parents 39fd0bf + 1c2ff4c commit 6ba82a1
Show file tree
Hide file tree
Showing 8 changed files with 829 additions and 950 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@ 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
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.version.php }}
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 6ba82a1

Please sign in to comment.