Skip to content

Try again to fix action. #7

Try again to fix action.

Try again to fix action. #7

Workflow file for this run

name: tests
on:
- push
- pull_request
- workflow_dispatch
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.4, 8.3]
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl
coverage: clover
- name: Install dependencies
run: composer self-update && composer install && composer dump-autoload
- name: Run tests and collect coverage
run: vendor/bin/phpunit --coverage-clover coverage.xml .
- name: Upload to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODE_COV_TOKEN }}