Skip to content

Add dependabot integration #91

Add dependabot integration

Add dependabot integration #91

Workflow file for this run

name: coverage
on: [push, pull_request]
jobs:
coverage:
runs-on: ubuntu-latest
name: Coverage
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.composer/cache/files
key: dependencies-php-8.2-illuminate-10.*-composer-${{ hashFiles('composer.json') }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: dom, libxml, mbstring, zip, pcntl
coverage: xdebug
- name: Install dependencies
run: composer update --prefer-dist --no-interaction
- name: Calculate coverage statistics
run: vendor/bin/phpunit --coverage-clover 'clover.xml'
- name: Send coverage statistics
uses: codecov/codecov-action@v1