Skip to content

Commit

Permalink
Remove unsupported versions from test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Nov 26, 2024
1 parent 9aeab61 commit 48d10db
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 9 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,13 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['7.4', '8.0', '8.1', '8.2']
contao: ['4.13', '5.0', '5.1']
php: ['7.4', '8.1', '8.2', '8.3', '8.4']
contao: ['4.13', '5.3', '5.4']
exclude:
- php: '7.4'
contao: '5.0'
contao: '5.3'
- php: '7.4'
contao: '5.1'
- php: '8.0'
contao: '5.0'
- php: '8.0'
contao: '5.1'
contao: '5.4'
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
24 changes: 23 additions & 1 deletion tests/Fixtures/app/config/config_5.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,25 @@ framework:
csrf_protection: ~
default_locale: '%locale%'
session:
storage_factory_id: session.storage.factory.mock_file
handler_id: ~
storage_factory_id: session.storage.factory.mock_file
cookie_secure: true
cookie_samesite: lax
fragments: { path: /_fragment }
http_method_override: false
php_errors:
log: true
uid:
default_uuid_version: 7
time_based_uuid_version: 7
annotations:
enabled: false
handle_all_throwables: true

security:
password_hashers:
Contao\User: auto
Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface: auto

providers:
contao.security.backend_user_provider:
Expand All @@ -34,6 +46,12 @@ security:
provider: contao.security.backend_user_provider
user_checker: contao.security.user_checker
switch_user: true
login_throttling: ~

login_link:
check_route: contao_backend_login_link
signature_properties: [username, lastLogin]
success_handler: contao.security.authentication_success_handler

contao_login:
remember_me: false
Expand All @@ -45,7 +63,9 @@ security:
request_matcher: contao.routing.frontend_matcher
provider: contao.security.frontend_user_provider
user_checker: contao.security.user_checker
access_denied_handler: contao.security.access_denied_handler
switch_user: false
login_throttling: ~

contao_login:
remember_me: true
Expand Down Expand Up @@ -90,6 +110,8 @@ contao:
localconfig:
licenseAccepted: true
disableCron: true
cron:
web_listener: false
search:
default_indexer:
enable: false
Expand Down

0 comments on commit 48d10db

Please sign in to comment.