Fix CI for LTS
parent
ef728bf8f7
commit
aeb206bcfb
|
@ -32,6 +32,7 @@ jobs:
|
||||||
- "7.3"
|
- "7.3"
|
||||||
- "7.4"
|
- "7.4"
|
||||||
- "8.0"
|
- "8.0"
|
||||||
|
- "8.1"
|
||||||
dependencies: [locked]
|
dependencies: [locked]
|
||||||
os: [ubuntu-latest]
|
os: [ubuntu-latest]
|
||||||
experimental: [false]
|
experimental: [false]
|
||||||
|
@ -44,10 +45,6 @@ jobs:
|
||||||
dependencies: lowest
|
dependencies: lowest
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
experimental: false
|
experimental: false
|
||||||
- php-version: "8.0"
|
|
||||||
dependencies: highest
|
|
||||||
os: ubuntu-latest
|
|
||||||
experimental: false
|
|
||||||
- php-version: "8.0"
|
- php-version: "8.0"
|
||||||
os: windows-latest
|
os: windows-latest
|
||||||
dependencies: locked
|
dependencies: locked
|
||||||
|
@ -57,13 +54,13 @@ jobs:
|
||||||
dependencies: locked
|
dependencies: locked
|
||||||
experimental: false
|
experimental: false
|
||||||
- php-version: "8.1"
|
- php-version: "8.1"
|
||||||
dependencies: lowest-ignore
|
dependencies: lowest
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
experimental: true
|
experimental: false
|
||||||
- php-version: "8.1"
|
- php-version: "8.1"
|
||||||
dependencies: highest-ignore
|
dependencies: highest
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
experimental: true
|
experimental: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: "Checkout"
|
- name: "Checkout"
|
||||||
|
@ -118,14 +115,11 @@ jobs:
|
||||||
run: "echo \"SYMFONY_DEPRECATIONS_HELPER=baselineFile=./tests/deprecations-8.1.json&max[direct]=0\" >> $GITHUB_ENV"
|
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"
|
- 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"
|
- name: "Run install again using composer binary from source"
|
||||||
run: "bin/composer install ${{ env.COMPOSER_FLAGS }}"
|
run: "bin/composer install ${{ env.COMPOSER_FLAGS }}"
|
||||||
|
|
||||||
- name: "Validate composer.json"
|
|
||||||
run: "bin/composer validate"
|
|
||||||
|
|
||||||
- name: "Prepare git environment"
|
- name: "Prepare git environment"
|
||||||
run: "git config --global user.name composer && git config --global user.email composer@example.com"
|
run: "git config --global user.name composer && git config --global user.email composer@example.com"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue