Skip to content

Commit

Permalink
downgrade composer/semver for brianium/paratest:4.0.0 compat
Browse files Browse the repository at this point in the history
should fix the php 7.2 CI build
  • Loading branch information
staabm committed Mar 19, 2024
1 parent af17790 commit aa74d55
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/static-analysis.yml
Expand Up @@ -60,6 +60,11 @@ jobs:
shell: bash
run: "vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"

- name: "Downgrade composer/semver for brianium/paratest:4.0.0 compatibility"
if: matrix.php-version == '7.2'
run: composer require composer/semver:"3.4.0 as 1.7.2"
shell: bash

- name: "Paratest patch"
if: matrix.php-version == '7.2'
run: composer config extra.patches.brianium/paratest --json --merge '["patches/paratest.patch"]'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Expand Up @@ -191,6 +191,10 @@ jobs:
shell: bash
run: "vendor/bin/simple-downgrade downgrade -c build/downgrade.php ${{ matrix.php-version }}"

- name: "Downgrade composer/semver for brianium/paratest:4.0.0 compatibility"
run: composer require composer/semver:"3.4.0 as 1.7.2"
shell: bash

- name: "Paratest patch"
run: composer config extra.patches.brianium/paratest --json --merge '["patches/paratest.patch"]'
shell: bash
Expand Down

0 comments on commit aa74d55

Please sign in to comment.