mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 04:04:45 +02:00
Make sure tests fails on composer error (#1034)
* Remove `--prefer-dist` * Add missing args `--no-autoloader` `--no-suggest` `--no-progress` `--no-scripts` `--no-dev`
This commit is contained in:
parent
e2045e334f
commit
0b84b0c08c
2
.github/workflows/build.yaml
vendored
2
.github/workflows/build.yaml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
coverage: none
|
coverage: none
|
||||||
|
|
||||||
- name: Install PHP dependencies
|
- name: Install PHP dependencies
|
||||||
run: composer install --no-interaction --no-suggest --prefer-dist
|
run: composer install --no-interaction --no-suggest --no-progress --no-autoloader --no-scripts --no-dev
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
|
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@ -66,7 +66,7 @@ jobs:
|
|||||||
coverage: none
|
coverage: none
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer install --no-interaction --no-suggest --prefer-dist
|
run: composer install --no-interaction --no-suggest --no-progress --no-scripts
|
||||||
|
|
||||||
- name: Unit tests
|
- name: Unit tests
|
||||||
run: vendor/bin/pest tests/Unit
|
run: vendor/bin/pest tests/Unit
|
||||||
@ -139,7 +139,7 @@ jobs:
|
|||||||
coverage: none
|
coverage: none
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer install --no-interaction --no-suggest --prefer-dist
|
run: composer install --no-interaction --no-suggest --no-progress --no-scripts
|
||||||
|
|
||||||
- name: Unit tests
|
- name: Unit tests
|
||||||
run: vendor/bin/pest tests/Unit
|
run: vendor/bin/pest tests/Unit
|
||||||
@ -200,7 +200,7 @@ jobs:
|
|||||||
coverage: none
|
coverage: none
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer install --no-interaction --no-suggest --prefer-dist
|
run: composer install --no-interaction --no-suggest --no-progress --no-scripts
|
||||||
|
|
||||||
- name: Create SQLite file
|
- name: Create SQLite file
|
||||||
run: touch database/testing.sqlite
|
run: touch database/testing.sqlite
|
||||||
|
4
.github/workflows/lint.yaml
vendored
4
.github/workflows/lint.yaml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
run: cp .env.example .env
|
run: cp .env.example .env
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer install --no-interaction --no-progress --prefer-dist
|
run: composer install --no-interaction --no-suggest --no-progress --no-autoloader --no-scripts
|
||||||
|
|
||||||
- name: Pint
|
- name: Pint
|
||||||
run: vendor/bin/pint --test
|
run: vendor/bin/pint --test
|
||||||
@ -48,7 +48,7 @@ jobs:
|
|||||||
run: cp .env.example .env
|
run: cp .env.example .env
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer install --no-interaction --no-progress --prefer-dist
|
run: composer install --no-interaction --no-suggest --no-progress --no-scripts
|
||||||
|
|
||||||
- name: PHPStan
|
- name: PHPStan
|
||||||
run: vendor/bin/phpstan --memory-limit=-1
|
run: vendor/bin/phpstan --memory-limit=-1
|
||||||
|
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
coverage: none
|
coverage: none
|
||||||
|
|
||||||
- name: Install PHP dependencies
|
- name: Install PHP dependencies
|
||||||
run: composer install --no-interaction --no-suggest --prefer-dist
|
run: composer install --no-interaction --no-suggest --no-progress --no-autoloader --no-scripts --no-dev
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user