|
11 | 11 |
|
12 | 12 | jobs: |
13 | 13 | tests: |
14 | | - runs-on: ubuntu-20.04 |
| 14 | + runs-on: ubuntu-latest |
15 | 15 | name: "PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}" |
16 | 16 | strategy: |
17 | 17 | fail-fast: false |
18 | 18 | matrix: |
19 | 19 | php: ["8.1", "8.2", "8.3"] |
20 | | - symfony: ["^5.4", "^6.4", "7.0"] |
| 20 | + symfony: ["^5.4", "^6.4", "^7.4"] |
21 | 21 | exclude: |
22 | 22 | - php: "8.1" |
23 | | - symfony: "7.0" |
| 23 | + symfony: "^7.4" |
24 | 24 |
|
25 | 25 | steps: |
26 | | - - uses: actions/checkout@v2 |
| 26 | + - uses: actions/checkout@v6 |
27 | 27 |
|
28 | 28 | - name: Setup PHP |
29 | 29 | uses: shivammathur/setup-php@v2 |
|
35 | 35 | if: matrix.symfony != '' |
36 | 36 | run: | |
37 | 37 | composer global config --no-plugins allow-plugins.symfony/flex true |
38 | | - composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^1.11" |
| 38 | + composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^2.4" |
39 | 39 | composer config extra.symfony.require "${{ matrix.symfony }}" |
40 | 40 |
|
41 | 41 | - name: Install dependencies |
|
46 | 46 |
|
47 | 47 | - name: Run tests |
48 | 48 | run: vendor/bin/behat --strict -vvv --no-interaction |
| 49 | + |
| 50 | + unstable: |
| 51 | + runs-on: ubuntu-latest |
| 52 | + name: "Unstable - PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}" |
| 53 | + needs: tests |
| 54 | + strategy: |
| 55 | + fail-fast: false |
| 56 | + matrix: |
| 57 | + php: ["8.2", "8.3", "8.4"] |
| 58 | + symfony: ["^7.4"] |
| 59 | + include: |
| 60 | + - php: "8.4" |
| 61 | + symfony: "^8.0" |
| 62 | + |
| 63 | + steps: |
| 64 | + - uses: actions/checkout@v6 |
| 65 | + |
| 66 | + - name: Setup PHP |
| 67 | + uses: shivammathur/setup-php@v2 |
| 68 | + with: |
| 69 | + php-version: "${{ matrix.php }}" |
| 70 | + coverage: none |
| 71 | + |
| 72 | + - name: Restrict Symfony version |
| 73 | + if: matrix.symfony != '' |
| 74 | + run: | |
| 75 | + composer global config --no-plugins allow-plugins.symfony/flex true |
| 76 | + composer global require --no-progress --no-scripts --no-plugins "symfony/flex:^2.4" |
| 77 | + composer config extra.symfony.require "${{ matrix.symfony }}" |
| 78 | +
|
| 79 | + - name: Install dependencies |
| 80 | + run: | |
| 81 | + composer require behat/behat:"4.x-dev as 3.99" --no-install |
| 82 | + composer update |
| 83 | +
|
| 84 | + - name: Run tests |
| 85 | + run: vendor/bin/behat --strict -vvv --no-interaction |
| 86 | + continue-on-error: true |
0 commit comments