Skip to content

Commit

Permalink
Fix tests and enable paralell testing
Browse files Browse the repository at this point in the history
  • Loading branch information
JhumanJ committed Feb 23, 2023
1 parent 49d1a23 commit f3a8ca1
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 111 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: laravel

on:
push:
branches: [ master ]
pull_request:

jobs:
Expand Down Expand Up @@ -33,7 +34,7 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [ 8.0 ]
php: [ 8.1 ]

name: Run Feature & Unit tests (PHP ${{ matrix.php }})

Expand Down Expand Up @@ -78,7 +79,7 @@ jobs:
run: chmod -R 777 storage bootstrap/cache

- name: Run tests (Unit and Feature)
run: ./vendor/bin/pest
run: ./vendor/bin/pest -p

- name: "Archive log results"
if: always()
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"pestphp/pest": "^1.15",
"pestphp/pest-plugin-faker": "^1.0",
"pestphp/pest-plugin-laravel": "^1.1",
"pestphp/pest-plugin-parallel": "^1.0",
"pestphp/pest-plugin-parallel": "^1.2",
"phpunit/phpunit": "^9.3.3",
"spatie/laravel-ignition": "^1.0",
"spatie/laravel-ray": "^1.17"
Expand Down
Loading

0 comments on commit f3a8ca1

Please sign in to comment.