Skip to content

Removed .phpunit.cache (#1) #34

Removed .phpunit.cache (#1)

Removed .phpunit.cache (#1) #34

Workflow file for this run

name: Code Coverage
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@2.31.1
with:
php-version: '8.3'
extensions: mbstring
tools: phpunit
- name: Run PHPUnit and collect coverage
run: phpunit --log-junit junit.xml --coverage-clover coverage.xml .
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV }}
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV }}