Skip to content

Commit

Permalink
Merge tests GA (#12)
Browse files Browse the repository at this point in the history
* wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

---------

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone authored Oct 14, 2023
1 parent 6e05bb4 commit 033a484
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 206 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/analyse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
os:
- "ubuntu-latest"
php:
- "8.0"
- 8.2
laravel:
- "9.x"
- "10.x"
dependencies:
- "highest"
experimental:
Expand All @@ -37,7 +37,6 @@ jobs:
- name: Install Laravel Framework ${{ matrix.laravel }}
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer require "nunomaduro/larastan:^1.0.1" --dev --no-interaction --no-update
- name: Install Laravel Pint
run: |
Expand Down
200 changes: 0 additions & 200 deletions .github/workflows/tests-on-windows.yml

This file was deleted.

10 changes: 8 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
matrix:
os:
- "ubuntu-latest"
- "windows-latest"
php:
- 8.2
laravel:
Expand Down Expand Up @@ -65,6 +66,7 @@ jobs:
matrix:
os:
- "ubuntu-latest"
- "windows-latest"
php:
- 8.1
laravel:
Expand Down Expand Up @@ -93,9 +95,13 @@ jobs:
- name: Install Laravel ${{ matrix.laravel }}
run: composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update

- name: Add PHP 8.1 Requirements
- name: Add PHP 8.1 Requirements for ubuntu-latest
run: composer require "ramsey/collection:^1.2" --no-interaction --no-update
if: matrix.php >= 8.1
if: matrix.php >= 8.1 && matrix.os != 'windows-latest'

- name: Add PHP 8.1 Requirements for windows-latest
run: composer require "ramsey/collection:~1.2" --no-interaction --no-update
if: matrix.php >= 8.1 && matrix.os == 'windows-latest'

- name: Install dependencies
uses: "ramsey/composer-install@v2"
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ parameters:

paths:
- src
- tests/Models
- workbench

# The level 8 is the highest level
level: 8
Expand Down

0 comments on commit 033a484

Please sign in to comment.