Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Oct 15, 2023
1 parent 60e0e2d commit f09c484
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 94 deletions.
49 changes: 1 addition & 48 deletions .github/workflows/tests-on-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
php:
- 8.1
- 8.2
- 8.3
dependencies:
- "highest"
- "lowest"
Expand Down Expand Up @@ -97,51 +98,3 @@ jobs:
run: vendor/bin/phpunit
env:
TESTBENCH_CONVERT_DEPRECATIONS_TO_EXCEPTIONS: false

tests-on-laravel8:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- "windows-latest"
php:
- 7.3
- 7.4
- '8.0'
- 8.1
dependencies:
- "highest"
- "lowest"
laravel:
- "8.x"
experimental:
- false

name: Laravel ${{ matrix.laravel }} on PHP${{ matrix.php }}-${{ matrix.os }} (${{ matrix.dependencies }})

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

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlite3, pdo_sqlite, bcmath, fileinfo
coverage: none

- name: Install Laravel Framework ${{ matrix.laravel }}
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
- name: Install dependencies
uses: "ramsey/composer-install@v2"
with:
composer-options: "--prefer-dist --no-cache"
dependency-versions: "${{ matrix.dependencies }}"

- name: Execute tests
run: vendor/bin/phpunit
env:
TESTBENCH_CONVERT_DEPRECATIONS_TO_EXCEPTIONS: false
47 changes: 1 addition & 46 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
php:
- 8.1
- 8.2
- 8.3
dependencies:
- "highest"
- "lowest"
Expand Down Expand Up @@ -94,49 +95,3 @@ jobs:

- name: Execute tests
run: vendor/bin/phpunit

tests-on-laravel8:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- "ubuntu-latest"
php:
- 7.3
- 7.4
- '8.0'
- 8.1
dependencies:
- "highest"
- "lowest"
laravel:
- "8.x"
experimental:
- false

name: Laravel ${{ matrix.laravel }} on PHP${{ matrix.php }}-${{ matrix.os }} (${{ matrix.dependencies }})

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

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, sqlite3, pdo_sqlite, bcmath, fileinfo
coverage: none

- name: Install Laravel Framework ${{ matrix.laravel }}
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
- name: Install dependencies
uses: "ramsey/composer-install@v2"
with:
composer-options: "--prefer-dist --no-cache"
dependency-versions: "${{ matrix.dependencies }}"

- name: Execute tests
run: vendor/bin/phpunit

0 comments on commit f09c484

Please sign in to comment.