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 Nov 7, 2023
1 parent 67b2c77 commit 828be61
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
os:
- "ubuntu-latest"
php:
- '8.0'
- 8.1
- 8.2
- 8.3
experimental:
- true

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-on-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
os:
- "windows-latest"
php:
- '8.0'
- 8.1
- 8.2
- 8.3
Expand Down
48 changes: 1 addition & 47 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

jobs:
tests-on-laravel-10:
tests:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
Expand Down Expand Up @@ -51,49 +51,3 @@ jobs:

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

tests-on-laravel-9:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os:
- "ubuntu-latest"
php:
- '8.0'
- 8.1
- 8.2
dependencies:
- "highest"
- "lowest"
experimental:
- false

name: PHP${{ matrix.php }}-${{ matrix.os }} with Laravel 9 (${{ matrix.dependencies }})

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

- 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 9
run: |
composer require "illuminate/contracts:9.x" --no-interaction --no-update
- name: Install dependencies
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "--prefer-dist --no-cache"

- name: Installed dependencies
run: composer show -D

- name: Execute tests
run: vendor/bin/phpunit --testdox
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
"php": "^8.0",
"composer-runtime-api": "^2.2",
"fakerphp/faker": "^1.21",
"laravel/framework": "^9.52.15 || ^10.26.0",
"laravel/framework": "^10.26",
"laravel/tinker": "^2.8.2",
"orchestra/canvas": "^7.10.0 || ^8.11.0",
"orchestra/testbench-core": "^7.34.0 || ^8.14.0",
"orchestra/canvas": "^8.11",
"orchestra/testbench-core": "8.14",
"symfony/yaml": "^6.0.9"
},
"require-dev": {
Expand Down

0 comments on commit 828be61

Please sign in to comment.