Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit test to Schema and Fields Trait #2

Merged
merged 7 commits into from Jun 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/pull-request.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
php_version: 7.4
version: 2
php_extensions: zip
php_extensions: zip pcntl

- name: PHP Code Sniffer
run: composer run phpcs
Expand All @@ -31,7 +31,7 @@ jobs:
with:
php_version: 7.4
version: 2
php_extensions: zip xdebug
php_extensions: zip xdebug pcntl

- name: Creating PHPUnit configuration file
run: cp tests/phpunit.xml.sample tests/phpunit.xml
Expand All @@ -42,11 +42,11 @@ jobs:
configuration: tests/phpunit.xml
args: --testdox

# - name: PHPUnit Coverage
# uses: php-actions/phpunit@v2
# with:
# php_extensions: xdebug
# configuration: tests/phpunit.xml
# args: --coverage-text --colors=never
# env:
# XDEBUG_MODE: coverage
- name: PHPUnit Coverage
uses: php-actions/phpunit@v2
with:
php_extensions: xdebug
configuration: tests/phpunit.xml
args: --coverage-text --colors=never
env:
XDEBUG_MODE: coverage
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,4 +1,5 @@
/.idea
/vendor
/tests/phpunit.xml
/tests/.phpunit.result.cache
/tests/.phpunit.result.cache
/tests/coverage
4 changes: 3 additions & 1 deletion composer.json
Expand Up @@ -52,7 +52,9 @@
"predis/predis": "^1.1",
"tymon/jwt-auth": "^1.0",
"fruitcake/laravel-cors": "^2.0@dev",
"sentry/sentry-laravel": "2.4.2"
"sentry/sentry-laravel": "2.4.2",
"laravel/laravel": ">=7",
"laravel/horizon": "6.x-dev"
},
"require-dev": {
"roave/security-advisories": "dev-latest",
Expand Down