Skip to content

Commit

Permalink
Merge branch 'laravel:11.x' into collection-add-containsany-method
Browse files Browse the repository at this point in the history
  • Loading branch information
DeanWunder authored Nov 1, 2024
2 parents 38040ae + 61e221c commit 9af8200
Show file tree
Hide file tree
Showing 446 changed files with 13,216 additions and 1,411 deletions.
111 changes: 107 additions & 4 deletions .github/workflows/databases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
jobs:
mysql_57:
runs-on: ubuntu-24.04
timeout-minutes: 5

services:
mysql:
Expand Down Expand Up @@ -56,6 +57,7 @@ jobs:

mysql_8:
runs-on: ubuntu-24.04
timeout-minutes: 5

services:
mysql:
Expand Down Expand Up @@ -101,6 +103,7 @@ jobs:

mariadb:
runs-on: ubuntu-24.04
timeout-minutes: 5

services:
mariadb:
Expand Down Expand Up @@ -144,8 +147,9 @@ jobs:
env:
DB_CONNECTION: mariadb

pgsql:
pgsql_14:
runs-on: ubuntu-24.04
timeout-minutes: 5

services:
postgresql:
Expand Down Expand Up @@ -192,8 +196,58 @@ jobs:
DB_USERNAME: forge
DB_PASSWORD: password

mssql:
runs-on: ubuntu-20.04
pgsql_10:
runs-on: ubuntu-24.04
timeout-minutes: 5

services:
postgresql:
image: postgres:10
env:
POSTGRES_DB: laravel
POSTGRES_USER: forge
POSTGRES_PASSWORD: password
ports:
- 5432:5432
options: --health-cmd=pg_isready --health-interval=10s --health-timeout=5s --health-retries=3

strategy:
fail-fast: true

name: PostgreSQL 10

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, pdo_pgsql, :php-psr
tools: composer:v2
coverage: none

- name: Set Framework version
run: composer config version "11.x-dev"

- name: Install dependencies
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress

- name: Execute tests
run: vendor/bin/phpunit tests/Integration/Database
env:
DB_CONNECTION: pgsql
DB_USERNAME: forge
DB_PASSWORD: password

mssql_2019:
runs-on: ubuntu-22.04
timeout-minutes: 5

services:
sqlsrv:
Expand Down Expand Up @@ -239,8 +293,57 @@ jobs:
DB_USERNAME: SA
DB_PASSWORD: Forge123

sqlite:
mssql_2017:
runs-on: ubuntu-20.04
timeout-minutes: 5

services:
sqlsrv:
image: mcr.microsoft.com/mssql/server:2017-latest
env:
ACCEPT_EULA: Y
SA_PASSWORD: Forge123
ports:
- 1433:1433

strategy:
fail-fast: true

name: SQL Server 2017

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlsrv, pdo, pdo_sqlsrv, odbc, pdo_odbc, :php-psr
tools: composer:v2
coverage: none

- name: Set Framework version
run: composer config version "11.x-dev"

- name: Install dependencies
uses: nick-fields/retry@v3
with:
timeout_minutes: 5
max_attempts: 5
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress

- name: Execute tests
run: vendor/bin/phpunit tests/Integration/Database
env:
DB_CONNECTION: sqlsrv
DB_DATABASE: master
DB_USERNAME: SA
DB_PASSWORD: Forge123

sqlite:
runs-on: ubuntu-24.04
timeout-minutes: 5

strategy:
fail-fast: true
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/facades.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,15 @@ jobs:
Illuminate\\Support\\Facades\\Broadcast \
Illuminate\\Support\\Facades\\Bus \
Illuminate\\Support\\Facades\\Cache \
Illuminate\\Support\\Facades\\Concurrency \
Illuminate\\Support\\Facades\\Config \
Illuminate\\Support\\Facades\\Context \
Illuminate\\Support\\Facades\\Cookie \
Illuminate\\Support\\Facades\\Crypt \
Illuminate\\Support\\Facades\\DB \
Illuminate\\Support\\Facades\\Date \
Illuminate\\Support\\Facades\\Event \
Illuminate\\Support\\Facades\\Exceptions \
Illuminate\\Support\\Facades\\File \
Illuminate\\Support\\Facades\\Gate \
Illuminate\\Support\\Facades\\Hash \
Expand All @@ -76,6 +78,7 @@ jobs:
Illuminate\\Support\\Facades\\Request \
Illuminate\\Support\\Facades\\Response \
Illuminate\\Support\\Facades\\Route \
Illuminate\\Support\\Facades\\Schedule \
Illuminate\\Support\\Facades\\Schema \
Illuminate\\Support\\Facades\\Session \
Illuminate\\Support\\Facades\\Storage \
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/queues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,13 @@ jobs:
max_attempts: 5
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress

- name: Setup SQLite Database
run: php vendor/bin/testbench package:create-sqlite-db

- name: Execute tests
run: vendor/bin/phpunit tests/Integration/Queue
env:
DB_CONNECTION: testing
DB_CONNECTION: sqlite
QUEUE_CONNECTION: database

redis:
Expand Down
2 changes: 2 additions & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
php:
preset: laravel
version: 8.2
enabled:
- nullable_type_declarations
finder:
not-name:
- bad-syntax-strategy.php
Expand Down
Loading

0 comments on commit 9af8200

Please sign in to comment.