Skip to content

Commit

Permalink
update test setup (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat authored Nov 14, 2024
1 parent e91ad0f commit e744195
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/codeception.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ jobs:
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
strategy:
matrix:
php: [ 8.2 ]
symfony: [ ^6.2 ]
pimcore: [ ~11.2.0 ]
php: [ 8.3 ]
symfony: [ ^6.4 ]
pimcore: [ ~11.4.0 ]
include:
- pimcore: ~11.2.0
template_tag: v11.0.0
- pimcore: ~11.4.0
template_tag: 2024.3
steps:
- uses: nanasess/setup-chromedriver@v2
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
strategy:
matrix:
php: [ 8.2 ]
symfony: [ ^6.2 ]
pimcore: [ ~11.2.0 ]
php: [ 8.3 ]
symfony: [ ^6.4 ]
pimcore: [ ~11.4.0 ]
include:
- pimcore: ~11.2.0
template_tag: v11.0.0
- pimcore: ~11.4.0
template_tag: 2024.3
steps:
- uses: actions/checkout@v4
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/php-stan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
strategy:
matrix:
php: [ 8.2 ]
symfony: [ ^6.2 ]
pimcore: [ ~11.2.0 ]
php: [ 8.3 ]
symfony: [ ^6.4 ]
pimcore: [ ~11.4.0 ]
include:
- pimcore: ~11.2.0
template_tag: v11.0.0
- pimcore: ~11.4.0
template_tag: 2024.3
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion tests/_envs/local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ modules:
wait: 1
capabilities:
chromeOptions:
args: ['--no-sandbox', '--disable-extensions', '--headless', '--disable-gpu', '--disable-dev-shm-usage', '--window-size=1024,768']
args: ['--disable-extensions', '--headless', '--disable-gpu', '--disable-dev-shm-usage', '--window-size=1280,1024']
14 changes: 12 additions & 2 deletions tests/_etc/config/app/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ services:
- [setContainer, ['@service_container']]

doctrine:
orm:
entity_managers:
default:
connection: default
dbal:
connections:
default:
Expand Down Expand Up @@ -51,7 +55,15 @@ pimcore:
write_target:
type: 'settings-store'

pimcore_admin:
admin_csp_header:
enabled: false

framework:

session:
storage_factory_id: session.storage.factory.mock_file

profiler:
enabled: true
collect: false
Expand All @@ -60,5 +72,3 @@ framework:
transports:
main: 'null://null'
pimcore_newsletter: 'null://null'
session:
storage_factory_id: session.storage.factory.mock_file

0 comments on commit e744195

Please sign in to comment.