Skip to content

Commit

Permalink
Added parallel testing for GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
korridor committed Mar 22, 2024
1 parent 8d3725b commit 72170ff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
POSTGRES_PASSWORD: 'root'
ports:
- 5432:5432
volumes:
- ${{github.workspace}}/vendor/laravel/sail/database/pgsql/create-testing-database.sql:/docker-entrypoint-initdb.d/10-create-testing-database.sql
options: >-
--health-cmd pg_isready
--health-interval 10s
Expand Down Expand Up @@ -50,5 +52,5 @@ jobs:
php artisan key:generate
php artisan passport:keys
- name: "Run PHPUnit"
run: composer test
- name: "Run PHPUnit in parallel"
run: composer ptest

0 comments on commit 72170ff

Please sign in to comment.