mirror of
https://github.com/pestphp/pest.git
synced 2026-06-07 20:02:13 +02:00
[4.x] Fix Checks (#1709)
* fix(composer): set root version for feature-branch CI pest-plugin-browser ^4.3.1 requires pestphp/pest ^4.4.5 on the root package. Without an explicit version, Composer infers dev-<branch> on PR branches, which fails composer update before tests run. * set root version of composer * fix indent
This commit is contained in:
2
.github/workflows/static.yml
vendored
2
.github/workflows/static.yml
vendored
@ -53,6 +53,8 @@ jobs:
|
|||||||
static-php-8.3-composer-
|
static-php-8.3-composer-
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
|
env:
|
||||||
|
COMPOSER_ROOT_VERSION: 4.x-dev
|
||||||
run: composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi
|
run: composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi
|
||||||
|
|
||||||
- name: Profanity Check
|
- name: Profanity Check
|
||||||
|
|||||||
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -66,6 +66,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install PHP dependencies
|
- name: Install PHP dependencies
|
||||||
shell: bash
|
shell: bash
|
||||||
|
env:
|
||||||
|
COMPOSER_ROOT_VERSION: 4.x-dev
|
||||||
run: composer update --${{ matrix.dependency_version }} --no-interaction --no-progress --ansi --with="symfony/console:^${{ matrix.symfony }}"
|
run: composer update --${{ matrix.dependency_version }} --no-interaction --no-progress --ansi --with="symfony/console:^${{ matrix.symfony }}"
|
||||||
|
|
||||||
- name: Unit Tests
|
- name: Unit Tests
|
||||||
|
|||||||
Reference in New Issue
Block a user