Skip to content

Commit

Permalink
Merge pull request #4 from nodus-it/add-coverage
Browse files Browse the repository at this point in the history
Add code coverage
  • Loading branch information
dtvmedia committed Mar 18, 2024
2 parents e9def59 + bbb3487 commit 1768234
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@ jobs:
- name: Install Dependencies
run: composer install --no-ansi --no-interaction --prefer-dist
- name: Execute tests (Unit and Feature tests) via Pest PHP
run: vendor/bin/pest
run: vendor/bin/pest --coverage-cobertura coverage.xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![License](https://poser.pugx.org/nodus-it/livewire-datatables/license)](//packagist.org/packages/nodus-it/livewire-datatables)
[![Latest Stable Version](http://poser.pugx.org/nodus-it/livewire-datatables/v)](https://packagist.org/packages/nodus-it/livewire-datatables)
[![Total Downloads](https://poser.pugx.org/nodus-it/livewire-datatables/downloads)](//packagist.org/packages/nodus-it/livewire-datatables)
[![Build Status](https://travis-ci.com/nodus-it/livewire-datatables.svg?branch=master)](https://travis-ci.com/nodus-it/livewire-datatables)
[![Unit-Tests](https://github.com/nodus-it/livewire-datatables/actions/workflows/unittests.yml/badge.svg)](https://github.com/nodus-it/livewire-datatables/actions/workflows/unittests.yml)
[![StyleCI](https://github.styleci.io/repos/311639565/shield?branch=master)](https://github.styleci.io/repos/311639565?branch=master)
[![codecov](https://codecov.io/gh/nodus-it/livewire-datatables/branch/master/graph/badge.svg)](https://codecov.io/gh/nodus-it/livewire-datatables)

Expand Down

0 comments on commit 1768234

Please sign in to comment.