Fix CI for LTS

main
Jordi Boggiano 2 years ago
parent ef728bf8f7
commit aeb206bcfb
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -32,6 +32,7 @@ jobs:
- "7.3"
- "7.4"
- "8.0"
- "8.1"
dependencies: [locked]
os: [ubuntu-latest]
experimental: [false]
@ -44,10 +45,6 @@ jobs:
dependencies: lowest
os: ubuntu-latest
experimental: false
- php-version: "8.0"
dependencies: highest
os: ubuntu-latest
experimental: false
- php-version: "8.0"
os: windows-latest
dependencies: locked
@ -57,13 +54,13 @@ jobs:
dependencies: locked
experimental: false
- php-version: "8.1"
dependencies: lowest-ignore
dependencies: lowest
os: ubuntu-latest
experimental: true
experimental: false
- php-version: "8.1"
dependencies: highest-ignore
dependencies: highest
os: ubuntu-latest
experimental: true
experimental: false
steps:
- name: "Checkout"
@ -118,14 +115,11 @@ jobs:
run: "echo \"SYMFONY_DEPRECATIONS_HELPER=baselineFile=./tests/deprecations-8.1.json&max[direct]=0\" >> $GITHUB_ENV"
- name: "Update dev requirements to latest available for the current PHP even on locked builds as they are not bundled dependencies"
run: "composer update ${{ env.COMPOSER_FLAGS }} symfony/phpunit-bridge phpspec/prophecy phpdocumentor/* sebastian/* doctrine/instantiator"
run: "composer config platform --unset && composer update ${{ env.COMPOSER_FLAGS }} symfony/phpunit-bridge phpspec/prophecy phpdocumentor/* sebastian/* doctrine/instantiator"
- name: "Run install again using composer binary from source"
run: "bin/composer install ${{ env.COMPOSER_FLAGS }}"
- name: "Validate composer.json"
run: "bin/composer validate"
- name: "Prepare git environment"
run: "git config --global user.name composer && git config --global user.email composer@example.com"

Loading…
Cancel
Save