Skip to content

Commit d2db21a

Browse files
freddenjrfnl
authored andcommitted
Allow creation of composer.lock during some tests
1 parent 8610aac commit d2db21a

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/basic-qa.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ jobs:
137137
phpcsstandards/phpcsutils:"${{ env.UTILS_DEV }}"
138138
phpcsstandards/phpcsextra:"${{ env.EXTRA_DEV }}"
139139
140+
- name: Enable creation of `composer.lock` file
141+
if: ${{ matrix.dependencies == 'lowest' }}
142+
run: composer config --unset lock
143+
140144
- name: Install Composer dependencies
141145
uses: ramsey/composer-install@v3
142146
with:

.github/workflows/quicktest.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ jobs:
4141
ini-values: error_reporting=-1, display_errors=On
4242
coverage: ${{ github.ref_name == 'develop' && 'xdebug' || 'none' }}
4343

44+
- name: Enable creation of `composer.lock` file
45+
if: ${{ matrix.dependencies == 'lowest' }}
46+
run: composer config --unset lock
47+
4448
- name: Install Composer dependencies
4549
uses: ramsey/composer-install@v3
4650
with:

.github/workflows/unit-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ jobs:
112112
phpcsstandards/phpcsutils:"${{ env.UTILS_DEV }}"
113113
phpcsstandards/phpcsextra:"${{ env.EXTRA_DEV }}"
114114
115+
- name: Enable creation of `composer.lock` file
116+
if: ${{ matrix.dependencies == 'lowest' }}
117+
run: composer config --unset lock
118+
115119
- name: Install Composer dependencies
116120
uses: ramsey/composer-install@v3
117121
with:

0 commit comments

Comments
 (0)