Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 6 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: CI
on: [push]

jobs:
test:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
services:
postgres:
image: postgres:13
Expand All @@ -11,18 +12,10 @@ jobs:
env:
POSTGRES_PASSWORD: 'postgres'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- run: composer install
php-version: '8.5'
coverage: none
- uses: ramsey/composer-install@v3
- run: make test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
Thumbs.db

tests/Fixtures/TestProject/var
tests/Fixtures/TestProject/config/reference.php
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
'vendor',
'tests/Fixtures/TestProject/var',
])
->notPath('tests/Fixtures/TestProject/config/reference.php')
->in(__DIR__)
)
;
28 changes: 14 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,24 @@
}
],
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.5",
"ext-json": "*",
"doctrine/dbal": "^3.0",
"doctrine/doctrine-bundle": "^2.0",
"symfony/framework-bundle": "^4.4 || ^5.4 || ^6.2"
"doctrine/dbal": "^4.0",
"doctrine/doctrine-bundle": "^3.2",
"symfony/framework-bundle": "^8.1"
},
"require-dev": {
"doctrine/doctrine-fixtures-bundle": "^3.0",
"doctrine/orm": "^2.15",
"friendsofphp/php-cs-fixer": "^3.2.1",
"imatic/form-bundle": "^5.0.0",
"imatic/testing": "^6.0.0",
"doctrine/doctrine-fixtures-bundle": "^4.0",
"doctrine/orm": "^3.0",
"friendsofphp/php-cs-fixer": "^3.75",
"imatic/form-bundle": "^6.0",
"imatic/testing": "^7.0",
"mikey179/vfsstream": "^1.4",
"phpstan/phpstan": "^1.8",
"symfony/browser-kit": "^4.4 || ^5.0 || ^6.2",
"symfony/phpunit-bridge": "^4.4 || ^5.0 || ^6.2",
"symfony/security-bundle": "^4.4 || ^5.0 || ^6.2",
"symfony/yaml": "^4.4 || ^5.0 || ^6.2"
"phpstan/phpstan": "^2.0",
"symfony/browser-kit": "^8.1",
"symfony/phpunit-bridge": "^8.1",
"symfony/security-bundle": "^8.1",
"symfony/yaml": "^8.1"
},
"suggest": {
"doctrine/dbal": "*",
Expand Down
Loading
Loading