Skip to content

build(deps): bump codecov/codecov-action from 4 to 5 #453

build(deps): bump codecov/codecov-action from 4 to 5

build(deps): bump codecov/codecov-action from 4 to 5 #453

Workflow file for this run

name: test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [8.1, 8.2, 8.3]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: pcov
- name: Install dependencies
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Run tests
run: vendor/bin/pest --coverage --coverage-clover=coverage.xml
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v5
with:
files: coverage.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}