Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 24 additions & 9 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@ name: run-tests

on:
push:
branches: [1.x]
branches: [2.x]
paths:
- '**.php'
pull_request:
branches: [1.x]
branches: [2.x]
paths:
- '**.php'
workflow_dispatch:

jobs:
test:
Expand All @@ -13,11 +18,18 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [8.3]
laravel: [12.*]
stability: [prefer-stable]

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
php: [8.2,8.3,8.4]
laravel: [11.*,12.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 11.*
testbench: 9.*
openspout: 4.28.5
- laravel: 12.*
testbench: 10.*
openspout: 4.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} - O${{ matrix.openspout }}

steps:
- name: Checkout code
Expand All @@ -37,8 +49,11 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer require "openspout/openspout:${{ matrix.openspout }}" "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction

- name: List Installed Dependencies
run: composer show -D

- name: Execute tests
run: vendor/bin/pest
run: vendor/bin/pest --ci
4 changes: 2 additions & 2 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: 1.x
ref: 2.x

- name: Update Changelog
uses: stefanzweifel/changelog-updater-action@v1
Expand All @@ -23,6 +23,6 @@ jobs:
- name: Commit updated CHANGELOG
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: 1.x
branch: 2.x
commit_message: Update CHANGELOG
file_pattern: CHANGELOG.md
1 change: 1 addition & 0 deletions .phpunit.cache/test-results
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":"pest_3.8.4","defects":{"P\\Tests\\CommentsTest::__pest_evaluable_comments_can_be_posted_as_different_users":8,"P\\Tests\\CommentsTest::__pest_evaluable_comments_without_users_have_no_relation":7,"P\\Tests\\CommentsTest::__pest_evaluable_comment_added_event_is_dispatched_when_comment_is_created":8,"P\\Tests\\CommentsTest::__pest_evaluable_users_without_commentator_interface_do_not_get_approved":8,"P\\Tests\\CommentsTest::__pest_evaluable_models_can_store_comments":8,"P\\Tests\\CommentsTest::__pest_evaluable_replies_are_deleted_when_post_comments_are_deleted":8,"P\\Tests\\CommentsTest::__pest_evaluable_users_can_be_auto_approved":8,"P\\Tests\\CommentsTest::__pest_evaluable_comments_resolve_the_commented_model":8,"P\\Tests\\CommentsTest::__pest_evaluable_comment_deleted_event_is_dispatched_when_comment_is_deleted":8,"P\\Tests\\CommentsTest::__pest_evaluable_comments_have_an_approved_scope":8,"P\\Tests\\CommentsTest::__pest_evaluable_comments_can_be_approved":8,"P\\Tests\\CommentsTest::__pest_evaluable_comments_can_be_posted_as_authenticated_users":8,"P\\Tests\\CommentsTest::__pest_evaluable_comments_are_deleted_when_posts_are_deleted":8,"P\\Tests\\ExampleTest::__pest_evaluable_it_can_test":8},"times":{"P\\Tests\\CommentsTest::__pest_evaluable_comments_can_be_posted_as_different_users":0.002,"P\\Tests\\CommentsTest::__pest_evaluable_comments_without_users_have_no_relation":0.004,"P\\Tests\\CommentsTest::__pest_evaluable_comment_added_event_is_dispatched_when_comment_is_created":0.011,"P\\Tests\\CommentsTest::__pest_evaluable_users_without_commentator_interface_do_not_get_approved":0.001,"P\\Tests\\CommentsTest::__pest_evaluable_models_can_store_comments":0.001,"P\\Tests\\CommentsTest::__pest_evaluable_replies_are_deleted_when_post_comments_are_deleted":0.001,"P\\Tests\\CommentsTest::__pest_evaluable_users_can_be_auto_approved":0.001,"P\\Tests\\CommentsTest::__pest_evaluable_comments_resolve_the_commented_model":0.001,"P\\Tests\\CommentsTest::__pest_evaluable_comment_deleted_event_is_dispatched_when_comment_is_deleted":0.001,"P\\Tests\\CommentsTest::__pest_evaluable_comments_have_an_approved_scope":0.002,"P\\Tests\\CommentsTest::__pest_evaluable_comments_can_be_approved":0.002,"P\\Tests\\CommentsTest::__pest_evaluable_comments_can_be_posted_as_authenticated_users":0.001,"P\\Tests\\CommentsTest::__pest_evaluable_comments_are_deleted_when_posts_are_deleted":0.001,"P\\Tests\\ExampleTest::__pest_evaluable_it_can_test":0.001}}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<p align="center">

[![Latest Version on Packagist](https://img.shields.io/packagist/v/lara-zeus/replies.svg?style=flat-square)](https://packagist.org/packages/lara-zeus/replies)
[![Tests](https://img.shields.io/github/actions/workflow/status/lara-zeus/replies/run-tests.yml?label=tests&style=flat-square&branch=1.x)](https://github.com/lara-zeus/replies/actions?query=workflow%3Arun-tests+branch%3A1.x)
[![Code Style](https://img.shields.io/github/actions/workflow/status/lara-zeus/replies/fix-php-code-style-issues.yml?label=code-style&flat-square)](https://github.com/lara-zeus/replies/actions?query=workflow%3Afix-php-code-style-issues+branch%3A1.x)
[![Tests](https://img.shields.io/github/actions/workflow/status/lara-zeus/replies/run-tests.yml?label=tests&style=flat-square&branch=2.x)](https://github.com/lara-zeus/replies/actions?query=workflow%3Arun-tests+branch%3A1.x)
[![Code Style](https://img.shields.io/github/actions/workflow/status/lara-zeus/replies/fix-php-code-style-issues.yml?label=code-style&flat-square)](https://github.com/lara-zeus/replies/actions?query=workflow%3Afix-php-code-style-issues+branch%3A2.x)
[![Total Downloads](https://img.shields.io/packagist/dt/lara-zeus/replies.svg?style=flat-square)](https://packagist.org/packages/lara-zeus/replies)
[![Total Downloads](https://img.shields.io/github/stars/lara-zeus/replies?style=flat-square)](https://github.com/lara-zeus/replies)

Expand Down
11 changes: 5 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,17 @@
],
"require": {
"php": "^8.1",
"lara-zeus/filament-plugin-tools": "*"
"lara-zeus/filament-plugin-tools": "^2.0"
},
"require-dev": {
"larastan/larastan": "^3.0",
"roave/security-advisories": "dev-latest",
"laravel/pint": "^1.0",
"nunomaduro/collision": "^8.6",
"nunomaduro/phpinsights": "^2.8",
"nunomaduro/collision": "^8.0",
"larastan/larastan": "^3.0",
"orchestra/testbench": "^10.0",
"pestphp/pest": "^3.0",
"pestphp/pest": "^3.5",
"pestphp/pest-plugin-arch": "^3.0",
"pestphp/pest-plugin-laravel": "^3.0",
"pestphp/pest-plugin-livewire": "^3.0",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-deprecation-rules": "^2.0",
Expand Down
Loading