Skip to content

Fix and run tests automatically using github action#321

Open
Benjaminhu wants to merge 7 commits intoreliese:v1.xfrom
Benjaminhu:feature/run-tests
Open

Fix and run tests automatically using github action#321
Benjaminhu wants to merge 7 commits intoreliese:v1.xfrom
Benjaminhu:feature/run-tests

Conversation

@Benjaminhu
Copy link
Copy Markdown

  1. fix broken test:
    - 1) ModelTest::testPhpTypeHint with data set "Non-nullable date" ('date', false, '\Carbon\Carbon')
    - 2) ModelTest::testPhpTypeHint with data set "Nullable date" ('date', true, '\Carbon\Carbon|null')
    
  2. add .github/workflows/run-tests.yml run atomatically matrix tests (PHP 7.3, 7.4, 8.0 & Laravel 8.0, 9.0)

[error]
- 1) ModelTest::testPhpTypeHint with data set "Non-nullable date" ('date', false, '\Carbon\Carbon')
- 2) ModelTest::testPhpTypeHint with data set "Nullable date" ('date', true, '\Carbon\Carbon|null')
…8.0 and above until v1.4.1.

[error] PHP Fatal error:  Type mixed cannot be marked as nullable since mixed already includes null in vendor/mockery/mockery/library/Mockery/Loader/EvalLoader.php(34) : eval()'d code on line 1005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant