mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-01-17 15:18:17 +01:00
Try to pass --ignore-platform-req=php on 8.1 only
This commit is contained in:
parent
b099e8fc76
commit
c4304c76bd
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@ -40,6 +40,9 @@ jobs:
|
||||
- "7.4"
|
||||
- "8.0"
|
||||
- "8.1"
|
||||
include:
|
||||
- php-version: "8.1"
|
||||
flags: "--ignore-platform-req=php"
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: "actions/checkout@v2"
|
||||
@ -50,7 +53,7 @@ jobs:
|
||||
php-version: "${{ matrix.php-version }}"
|
||||
tools: composer:v2
|
||||
- name: "Install dependencies"
|
||||
run: "composer update --no-progress --prefer-dist --ignore-platform-req=php"
|
||||
run: "composer update --no-progress --prefer-dist ${{ matrix.flags }}"
|
||||
- name: "PHPUnit"
|
||||
run: "php vendor/bin/phpunit"
|
||||
test_old_73_80:
|
||||
|
Loading…
x
Reference in New Issue
Block a user