Skip to content

Feat: Dependent features (#187) #488

Feat: Dependent features (#187)

Feat: Dependent features (#187) #488

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.2
- 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 }}