Skip to content

Commit

Permalink
Prefer PHP 8.1 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Jun 25, 2022
1 parent 5a545e4 commit e09e7c1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.0"
php-version: "8.1"

- name: Install composer dependencies
uses: "ramsey/composer-install@v1"
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
env:
ENGINE: PDO_MYSQL
EMULATE_PREPARES: ${{ matrix.emulate-prepares }}
if: ${{ matrix.php-version != '8.0' }}
if: ${{ matrix.php-version != '8.1' }}

- name: Run PHPUnit with coverage
run: |
Expand All @@ -75,13 +75,13 @@ jobs:
env:
ENGINE: PDO_MYSQL
EMULATE_PREPARES: ${{ matrix.emulate-prepares }}
if: ${{ matrix.php-version == '8.0' }}
if: ${{ matrix.php-version == '8.1' }}

- name: Upload coverage report to Coveralls
run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ matrix.php-version == '8.0' }}
if: ${{ matrix.php-version == '8.1' }}

phpunit-mariadb:
name: PHPUnit MariaDB
Expand All @@ -90,7 +90,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.0"
- "8.1"
emulate-prepares:
- "ON"
- "OFF"
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.0"
- "8.1"

steps:
- name: Checkout
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.0"
- "8.1"

steps:
- name: Checkout
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
strategy:
matrix:
php-version:
- "8.0"
- "8.1"

steps:
- name: Checkout
Expand Down

0 comments on commit e09e7c1

Please sign in to comment.