Skip to content

Commit

Permalink
CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet committed Mar 12, 2024
1 parent a97db7f commit 5927810
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 14 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/run-table-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
ssr: true
- php: 8.2
ssr: true
- laravel: 10.0
ssr: true
- db: mysql
ssr: true
- db: postgres
Expand Down Expand Up @@ -118,14 +120,6 @@ jobs:
composer require laravel/framework:^${{ matrix.laravel }} --no-interaction --no-suggest
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
- name: Prepare L10
if: ${{ matrix.laravel == '10.0' }}
run: |
cd app
rm composer.lock
composer require spatie/phpunit-snapshot-assertions:^5.0 phpunit/phpunit:^10.0 nunomaduro/collision:^7.0 --no-interaction --no-suggest
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
- name: Prepare tests
run: |
cd app
Expand Down
2 changes: 1 addition & 1 deletion app/.env.example.mysql
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ DB_USERNAME=protone_media_db_test
DB_PASSWORD=secret
DB_PORT=3306

BROADCAST_DRIVER=pusher
BROADCAST_DRIVER=reverb
CACHE_DRIVER=file
FILESYSTEM_DISK=local
QUEUE_CONNECTION=sync
Expand Down
2 changes: 1 addition & 1 deletion app/.env.example.postgres
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ DB_USERNAME=protone_media_db_test
DB_PASSWORD=secret
DB_PORT=5432

BROADCAST_DRIVER=pusher
BROADCAST_DRIVER=reverb
CACHE_DRIVER=file
FILESYSTEM_DISK=local
QUEUE_CONNECTION=sync
Expand Down
2 changes: 1 addition & 1 deletion app/tests/Browser/Form/SelectDependentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class SelectDependentTest extends DuskTestCase
{
public function dependentUrls()
public static function dependentUrls()
{
return [
['form/components/selectAsync/dependent'],
Expand Down
2 changes: 1 addition & 1 deletion app/tests/Browser/ModalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public function it_can_have_a_slideover_with_different_max_widths($size, $expect
});
}

public function sizeAndPixels()
public static function sizeAndPixels()
{
return [
['sm', 384],
Expand Down
4 changes: 2 additions & 2 deletions app/tests/DuskTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected function newBrowser($driver)
return new Browser($driver);
}

public function tableUrls()
public static function tableUrls()
{
return [
['/table/users/spatie/'],
Expand All @@ -37,7 +37,7 @@ public function tableUrls()
];
}

public function booleanDataset()
public static function booleanDataset()
{
return [[false], [true]];
}
Expand Down

0 comments on commit 5927810

Please sign in to comment.