Skip to content

Commit

Permalink
Fix tests on lowest
Browse files Browse the repository at this point in the history
  • Loading branch information
shalvah committed Jan 15, 2022
1 parent d68340f commit 4570c2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick
coverage: xdebug


- name: Install dependencies
if: ${{ matrix.deps == 'highest' }}
run: composer update
Expand All @@ -47,7 +46,11 @@ jobs:

- name: Execute tests (Laravel/Lumen)
run: composer test-ci
if: ${{ matrix.deps != 'dingo' }}
if: ${{ matrix.deps == 'highest' }}

- name: Execute tests (Lowest)
run: COMPOSER=composer.lowest.json composer test-ci
if: ${{ matrix.deps == 'lowest' }}

- name: Execute tests (Dingo)
run: COMPOSER=composer.dingo.json composer test-ci
Expand Down
5 changes: 2 additions & 3 deletions composer.lowest.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"league/fractal": "^0.19.0",
"nikic/fast-route": "^1.3",
"orchestra/testbench": "^4.0|^5.0",
"pestphp/pest": "^0.3",
"phpstan/phpstan": "^0.12.90",
"phpunit/phpunit": "^9.0",
"symfony/css-selector": "^5.3",
Expand All @@ -67,8 +66,8 @@
},
"scripts": {
"lint": "phpstan analyse -c ./phpstan.neon src camel --memory-limit 1G",
"test": "pest --stop-on-failure --exclude-group dingo --coverage --colors",
"test-ci": "pest --exclude-group dingo --coverage --min=80",
"test": "phpunit --stop-on-failure --exclude-group dingo",
"test-ci": "phpunit --exclude-group dingo",
"test-parallel": "paratest -p16 --stop-on-failure --exclude-group dingo",
"test-parallel-ci": "paratest -p16 --exclude-group dingo"
},
Expand Down

0 comments on commit 4570c2a

Please sign in to comment.