Skip to content

Commit

Permalink
Removed parallel testing
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-helldar committed Aug 2, 2023
1 parent d78f44b commit ff555f0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/databases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress --optimize-autoloader

- name: Execute tests
run: vendor/bin/pest --parallel --colors=always
run: vendor/bin/pest --colors=always
env:
DB_CONNECTION: mysql
DB_USERNAME: root
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress --optimize-autoloader

- name: Execute tests
run: vendor/bin/pest --parallel --colors=always
run: vendor/bin/pest --colors=always
env:
DB_CONNECTION: mysql
DB_USERNAME: root
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress --optimize-autoloader

- name: Execute tests
run: vendor/bin/pest --parallel --colors=always
run: vendor/bin/pest --colors=always
env:
DB_CONNECTION: pgsql
DB_PASSWORD: password
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
command: composer update --prefer-stable --prefer-dist --no-interaction --no-progress --optimize-autoloader

- name: Execute tests
run: vendor/bin/pest --parallel --colors=always
run: vendor/bin/pest --colors=always
env:
DB_CONNECTION: sqlsrv
DB_DATABASE: master
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --optimize-autoloader

- name: Execute tests
run: vendor/bin/pest --parallel --colors=always
run: vendor/bin/pest --colors=always
env:
DB_CONNECTION: mysql
DB_USERNAME: root
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
command: composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-progress --optimize-autoloader

- name: Execute tests
run: vendor/bin/pest --parallel --colors=always
run: vendor/bin/pest --colors=always
env:
DB_CONNECTION: mysql
DB_USERNAME: root
Expand Down
11 changes: 5 additions & 6 deletions tests/Pest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Support\Facades\Artisan;
use Tests\TestCase;

Expand All @@ -15,11 +14,11 @@
|
*/

uses(TestCase::class, RefreshDatabase::class)->group('core')->in('Unit/Core');
uses(TestCase::class, RefreshDatabase::class)->group('cash')->in('Unit/Drivers/Cash');
uses(TestCase::class, RefreshDatabase::class)->group('outside')->in('Unit/Drivers/Outside');
uses(TestCase::class, RefreshDatabase::class)->group('tinkoff-auth')->in('Unit/Drivers/TinkoffAuth');
uses(TestCase::class, RefreshDatabase::class)->group('tinkoff-credit')->in('Unit/Drivers/TinkoffCredit');
uses(TestCase::class)->group('core')->in('Unit/Core');
uses(TestCase::class)->group('cash')->in('Unit/Drivers/Cash');
uses(TestCase::class)->group('outside')->in('Unit/Drivers/Outside');
uses(TestCase::class)->group('tinkoff-auth')->in('Unit/Drivers/TinkoffAuth');
uses(TestCase::class)->group('tinkoff-credit')->in('Unit/Drivers/TinkoffCredit');

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit ff555f0

Please sign in to comment.