-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from fico7489/filip-patch
Filip patch
- Loading branch information
Showing
10 changed files
with
52 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Test | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
php_version: [7.2] | ||
laravel_version: [5.5.*,6.*, 7.*] | ||
|
||
steps: | ||
- name: Checkout commit | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v1 | ||
with: | ||
php-version: ${{ matrix.php_version }} | ||
|
||
- name: Validate composer.json | ||
run: composer validate | ||
|
||
- name: Run composer install | ||
run: composer install --no-interaction --no-suggest | ||
|
||
- name: Install Laravel | ||
run: composer update --no-interaction illuminate/database:^${{ matrix.laravel_version }} | ||
|
||
- name: Run PHPUnit | ||
run: ./vendor/bin/phpunit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
C:37:"PHPUnit\Runner\DefaultTestResultCache":2859:{a:2:{s:7:"defects";a:0:{}s:5:"times";a:32:{s:62:"Fico7489\Laravel\Pivot\Tests\ObservableEventsTest::test_events";d:0.19;s:65:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_attach_int";d:0.021;s:77:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_polymorphic_attach_int";d:0.015;s:68:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_attach_string";d:0.014;s:67:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_attach_array";d:0.015;s:79:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_polymorphic_attach_array";d:0.014;s:67:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_attach_model";d:0.015;s:79:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_polymorphic_attach_model";d:0.015;s:72:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_attach_collection";d:0.015;s:84:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_polymorphic_attach_collection";d:0.014;s:65:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_detach_int";d:0.014;s:77:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_polymorphic_detach_int";d:0.015;s:67:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_detach_array";d:0.014;s:79:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_polymorphic_detach_array";d:0.014;s:67:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_detach_model";d:0.014;s:79:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_polymorphic_detach_model";d:0.015;s:72:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_detach_collection";d:0.015;s:84:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_polymorphic_detach_collection";d:0.014;s:66:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_detach_null";d:0.015;s:78:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_polymorphic_detach_null";d:0.019;s:61:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_update";d:0.015;s:73:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_polymorphic_update";d:0.014;s:63:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_sync_int";d:0.015;s:75:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_polymorphic_sync_int";d:0.014;s:65:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_sync_array";d:0.015;s:77:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_polymorphic_sync_array";d:0.015;s:65:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_sync_model";d:0.015;s:77:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_polymorphic_sync_model";d:0.015;s:70:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_sync_collection";d:0.015;s:82:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_polymorphic_sync_collection";d:0.015;s:70:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_standard_update";d:0.014;s:71:"Fico7489\Laravel\Pivot\Tests\PivotEventTraitTest::test_relation_is_null";d:0.014;}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/database/migrations/2017_11_04_163552_create_database.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters