Skip to content

fix: support both snake_case and camelCase versions of impression data #581

fix: support both snake_case and camelCase versions of impression data

fix: support both snake_case and camelCase versions of impression data #581

Workflow file for this run

name: Code Coverage
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
coverage:
name: Report Coverage
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
- name: Checkout Code
uses: actions/checkout@v2
with:
submodules: true
- name: Install Dependencies
run: composer install
- name: Generate Coverage
run: composer phpunit -- --coverage-clover ./build/logs/clover.xml
- name: Download Coverage Client
run: wget https://github.com/php-coveralls/php-coveralls/releases/download/v2.4.3/php-coveralls.phar
- name: Publish Coverage (Coveralls)
run: php php-coveralls.phar -v
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}