Skip to content

Commit

Permalink
Merge branch 'develop' into 9.x
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Nov 21, 2024
2 parents 6c42cf5 + fe19587 commit 8331475
Show file tree
Hide file tree
Showing 36 changed files with 241 additions and 365 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/analyse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,15 @@ on:

jobs:
analyse:
runs-on: ${{ matrix.os }}
runs-on: "ubuntu-latest"
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- "ubuntu-latest"
php:
- 8.2
dependencies:
- "highest"
php: [8.3]
experimental:
- false

name: PHP:${{ matrix.php }} PHPStan & Pint
name: PHP:${{ matrix.php }} Code Analysis

steps:
- name: Checkout code
Expand All @@ -36,11 +31,14 @@ jobs:
- name: Install dependencies
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "${{ matrix.dependencies }}"
dependency-versions: "highest"
composer-options: "--prefer-dist --no-cache"

- name: Execute Code Style Analysis
run: vendor/bin/pint --test

- name: Execute Static Code Analysis
run: vendor/bin/phpstan analyse
run: vendor/bin/phpstan analyse --verbose

lint:
runs-on: ${{ matrix.os }}
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/audits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,18 @@ on:

jobs:
audit-dependencies:
runs-on: ${{ matrix.os }}
runs-on: "ubuntu-latest"
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- "ubuntu-latest"
php:
- 8.2
- 8.3
- 8.4
experimental:
- true

name: PHP:${{ matrix.php }} on ${{ matrix.os }}
name: PHP:${{ matrix.php }} Code Audit

steps:
- name: Checkout code
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/coveralls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,15 @@ on:

jobs:
tests:
runs-on: ${{ matrix.os }}
runs-on: "ubuntu-latest"
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- "ubuntu-latest"
php:
- 8.2
dependencies:
- "highest"
php: [8.3]
experimental:
- false

name: PHP:${{ matrix.php }} on ${{ matrix.os }} (${{ matrix.dependencies }})
name: PHP:${{ matrix.php }} Code Coverage

steps:
- name: Checkout code
Expand All @@ -36,7 +31,7 @@ jobs:
- name: Install dependencies
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "${{ matrix.dependencies }}"
dependency-versions: "highest"
composer-options: "--prefer-dist"

- name: Create database
Expand Down
19 changes: 8 additions & 11 deletions .github/workflows/strict-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,22 @@ on:

jobs:
strict-tests:
runs-on: ${{ matrix.os }}
runs-on: "ubuntu-latest"
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- "ubuntu-latest"
php:
- 8.2
- 8.3
- 8.4
phpunit:
- "~11.0.0"
- "~10.5.0"
dependencies:
- "highest"
- "lowest"
- "~10.5.35"
- "~11.3.6"
- "~11.4.0"
experimental:
- false

name: PHP:${{ matrix.php }} with PHPUnit:${{ matrix.phpunit }} on ${{ matrix.os }} (${{ matrix.dependencies }})
name: PHP:${{ matrix.php }} / PHPUnit:${{ matrix.phpunit }}

steps:
- name: Checkout code
Expand All @@ -46,7 +43,7 @@ jobs:
- name: Install dependencies
uses: "ramsey/composer-install@v3"
with:
dependency-versions: "${{ matrix.dependencies }}"
dependency-versions: "highest"
composer-options: "--prefer-dist --no-cache --with=phpunit/phpunit:${{ matrix.phpunit }}"

- name: Installed dependencies
Expand All @@ -60,7 +57,7 @@ jobs:
run: vendor/laravel/dusk/bin/chromedriver-linux --port=9515 &

- name: Execute tests
run: vendor/bin/phpunit --fail-on-warning --fail-on-deprecation --fail-on-notice
run: vendor/bin/phpunit --fail-on-warning --fail-on-deprecation --fail-on-notice --display-deprecations
env:
RAY_ENABLED: false

Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,26 @@ on:
- cron: '0 0 * * *'

jobs:
tests-on-phpunit-10:
runs-on: ${{ matrix.os }}
tests:
runs-on: "ubuntu-latest"
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- "ubuntu-latest"
php:
- 8.2
- 8.3
- 8.4
phpunit:
- "~11.0.0"
- "~10.5.0"
- "~10.5.35"
- "~11.3.6"
- "~11.4.0"
dependencies:
- "highest"
- "lowest"
experimental:
- false

name: PHP:${{ matrix.php }} with PHPUnit:${{ matrix.phpunit }} on ${{ matrix.os }} (${{ matrix.dependencies }})
name: PHP:${{ matrix.php }} / PHPUnit:${{ matrix.phpunit }} ${{ matrix.dependencies == 'highest' && '⬆️' || '⬇️' }}

steps:
- name: Checkout code
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
RAY_ENABLED: false

- name: Upload Failed Screenshots
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: screenshots
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-skeleton.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
php-version: 8.3
extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlite3, pdo_sqlite, pdo_mysql, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
coverage: none

Expand Down
28 changes: 28 additions & 0 deletions CHANGELOG-8.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@

This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench-dusk`.

## 8.31.0

Released: 2024-11-19

### Added

* Added support for `laravel/serializable-closure` v2.

### Changes

* Update minimum support for Testbench v8.28.0+. ([v8.27.0...v8.28.0](https://github.com/orchestral/testbench/compare/v8.27.0...v8.28.0))
* Update minimum support for Testbench Core v8.29.0+. ([v8.28.1...v8.29.0](https://github.com/orchestral/testbench/compare/v8.28.1...v8.29.0))

## 8.30.0

Released: 2024-09-25

### Changes

* Update minimum support for Testbench v8.27.0+. ([v8.26.0...v8.27.0](https://github.com/orchestral/testbench/compare/v8.26.0...v8.27.0))
* Update minimum support for Testbench Core v8.28.1+. ([v8.27.0...v8.28.1](https://github.com/orchestral/testbench/compare/v8.27.0...v8.28.1))
* Change `resolveApplicationResolvingCallback()` method visibility from `private` to `protected`.
* Update `Orchestra\Testbench\default_skeleton_path()` to accept `array`.

### Removed

* Removed `Orchestra\Testbench\Dusk\find_test_directory()` function.

## 8.29.0

Released: 2024-08-26
Expand Down
56 changes: 56 additions & 0 deletions CHANGELOG-9.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,62 @@

This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench-dusk`.

## 9.9.1

Released: 2024-11-20

### Changes

* Update minimum support for Testbench v9.6.1+. ([v9.6.0...v9.6.1](https://github.com/orchestral/testbench/compare/v9.6.0...v9.6.1))
* Update minimum support for Testbench Core v9.6.2+. ([v9.6.0...v9.6.2](https://github.com/orchestral/testbench-core/compare/v9.6.0...v9.6.2))

## 9.9.0

Released: 2024-11-19

### Added

* Added support for `laravel/serializable-closure` v2.

### Changes

* Update minimum support for Testbench v9.6.0+. ([v9.5.0...v9.6.0](https://github.com/orchestral/testbench/compare/v9.5.0...v9.6.0))
* Update minimum support for Testbench Core v9.6.0+. ([v9.5.1...v9.6.0](https://github.com/orchestral/testbench-core/compare/v9.5.1...v9.6.0))

### Fixes

* Fixes default migrations for Laravel 11.

## 9.8.1

Released: 2024-10-26

### Changes

* Add optional support for `Illuminate\Support\php_binary` function.

## 9.8.0

Released: 2024-09-25

### Changes

* Update minimum support for Testbench v9.5.0+. ([v9.4.0...v9.5.0](https://github.com/orchestral/testbench/compare/v9.4.0...v9.5.0))
* Update minimum support for Testbench Core v9.5.1+. ([v9.4.0...v9.5.1](https://github.com/orchestral/testbench-core/compare/v9.4.0...v9.5.1))
* Update `Orchestra\Testbench\default_skeleton_path()` to accept `array`.

### Removed

* Removed `Orchestra\Testbench\Dusk\find_test_directory()` function.

## 9.7.1

Released: 2024-09-12

### Changes

* Add `concurrency.php` configuration based on Laravel Framework 11.23.

## 9.7.0

Released: 2024-08-26
Expand Down
Loading

0 comments on commit 8331475

Please sign in to comment.