Skip to content

Commit

Permalink
Added filament to github workflow test
Browse files Browse the repository at this point in the history
Allow getNavigationGroup to be null
  • Loading branch information
cannycookie committed Aug 19, 2024
1 parent 37cc384 commit 42308c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ jobs:
os: [ubuntu-latest]
php: [8.2]
laravel: [10.*]
filament: [3.*]
dependency-version: [ prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
filament: 3.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }}

Expand All @@ -36,8 +38,8 @@ jobs:

- name: Install dependencies
run: |
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:>=2.62.1" --no-interaction --no-update
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction
composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "filament/filament:${{ matrix.filament }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction
- name: Setup Problem Matches
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/EmailTemplatesPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function navigationGroup($navigationGroup): static
return $this;
}

public function getNavigationGroup(): string
public function getNavigationGroup(): ?string
{
return $this->navigationGroup ?? config('filament-email-templates.navigation.templates.group');
}
Expand Down

0 comments on commit 42308c2

Please sign in to comment.