Skip to content

Adding codecov support (or trying to, anyway) #4

Adding codecov support (or trying to, anyway)

Adding codecov support (or trying to, anyway) #4

Workflow file for this run

name: Workflow for Codecov
on: [push, pull_request]
ignore:

Check failure on line 3 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Workflow for Codecov

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 3, Col: 1): Unexpected value 'ignore'
- "vendor/**"
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up php 8.2
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- 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 coverage to Codecov
uses: codecov/codecov-action@v3