Skip to content

chore: add php 8.5 to tests #1277

chore: add php 8.5 to tests

chore: add php 8.5 to tests #1277

Workflow file for this run

name: test
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
paths-ignore:
- '**.md'
types:
- opened
- synchronize
- reopened
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
php-version:
- '8.4'
- '8.5'
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Pull
run: docker compose pull --quiet
- name: Build
run: docker compose build --build-arg PHPVERSION=${{ matrix.php-version }}
- name: Lint
if: matrix.php-version == '8.4'
run: docker compose run lib composer lint
- name: Test
run: docker compose run lib composer test
- name: Upload coverage
uses: codecov/codecov-action@v6
if: success()
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage/clover.xml