Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Nov 7, 2023
1 parent 67b2c77 commit 2bbc269
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 51 deletions.
1 change: 0 additions & 1 deletion .github/workflows/test-on-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
- '8.0'
- 8.1
- 8.2
- 8.3
dependencies:
- "highest"
- "lowest"
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,53 +6,7 @@ on:
workflow_dispatch:

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

name: PHP${{ matrix.php }}-${{ matrix.os }} with Laravel 10 (${{ 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 10
run: |
composer require "illuminate/contracts:10.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

tests-on-laravel-9:
tests:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
Expand Down
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": "^9.52.15",
"laravel/tinker": "^2.8.2",
"orchestra/canvas": "^7.10.0 || ^8.11.0",
"orchestra/testbench-core": "^7.34.0 || ^8.14.0",
"orchestra/canvas": "^7.10",
"orchestra/testbench-core": "^7.34",
"symfony/yaml": "^6.0.9"
},
"require-dev": {
Expand Down

0 comments on commit 2bbc269

Please sign in to comment.