Skip to content

Commit

Permalink
feat: add filament as e2e test and update others (#1847)
Browse files Browse the repository at this point in the history
  • Loading branch information
canvural committed Feb 12, 2024
1 parent c3fd4b2 commit 6522493
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 5 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,15 @@ jobs:
fail-fast: false
matrix:
include:
-
repository: monicahq/monica
ref: 12a6f08c8ce65eb022f91195a0b1317aed78955d
php-version: "8.2"
config: monicahq-monica.neon
baseline: monicahq-monica.baseline.neon
-
repository: koel/koel
ref: a6a0edb110dfb5aa56fb8a74d583221cb30a7353
ref: e2838f3c9e1cf7826227aac450d38bd7fc8843f9
php-version: "8.1"
config: koel-koel.neon
baseline: koel-koel.baseline.neon
Expand All @@ -45,9 +51,16 @@ jobs:
config: canvural-larastan-strict-rules.neon
baseline: canvural-larastan-strict-rules.baseline.neon

-
repository: filamentphp/filament
ref: c3501678694b43b416143fe68fb305acdb575a4d
php-version: "8.2"
config: filamentphp-filament.neon
baseline: filamentphp-filament.baseline.neon

steps:
- name: "Checkout"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"
with:
path: "larastan"

Expand All @@ -58,7 +71,7 @@ jobs:
php-version: "${{ matrix.php-version }}"

- name: "Checkout dependent repo"
uses: "actions/checkout@v3"
uses: "actions/checkout@v4"
with:
repository: "${{ matrix.repository }}"
ref: "${{ matrix.ref }}"
Expand Down
16 changes: 16 additions & 0 deletions e2e/filamentphp-filament.baseline.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
parameters:
ignoreErrors:
-
message: "#^Call to function is_null\\(\\) with mixed will always evaluate to false\\.$#"
count: 1
path: ../../e2e/packages/forms/src/Commands/MakeFormCommand.php

-
message: "#^Variable \\$modifyQueryUsing on left side of \\?\\? always exists and is not nullable\\.$#"
count: 1
path: ../../e2e/packages/panels/src/Commands/MakePageCommand.php

-
message: "#^Call to function is_null\\(\\) with mixed will always evaluate to false\\.$#"
count: 1
path: ../../e2e/packages/panels/src/Commands/MakeResourceCommand.php
3 changes: 3 additions & 0 deletions e2e/filamentphp-filament.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
includes:
- ../../e2e/phpstan.neon.dist
- filamentphp-filament.baseline.neon
2 changes: 1 addition & 1 deletion e2e/koel-koel.baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ parameters:

-
message: "#^Call to an undefined method Illuminate\\\\Database\\\\Eloquent\\\\Builder\\:\\:withMeta\\(\\)\\.$#"
count: 14
count: 15
path: ../../e2e/app/Repositories/SongRepository.php

-
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion e2e/monicahq-chandler.neon → e2e/monicahq-monica.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
includes:
- ../../e2e/phpstan.neon
- monicahq-chandler.baseline.neon
- monicahq-monica.baseline.neon
parameters:
ignoreErrors:
- '#^Property App\\.+ \(never\) does not accept mixed\.$#'
Expand Down

0 comments on commit 6522493

Please sign in to comment.