Skip to content

Commit

Permalink
Add Codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
HypeMC committed Oct 22, 2024
1 parent d22cffa commit 07a6f61
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
coverage_path: coverage.xml
threshold_alert: 3
threshold_warning: 50
threshold_alert: 80
threshold_warning: 90
comment_mode: update

- name: Upload Coverage to Codecov
if: ${{ success() }}
uses: codecov/codecov-action@v4
with:
file: coverage.xml
flags: ${{ matrix.php }}
token: ${{ secrets.CODECOV_TOKEN }}
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# SofascorePurgatoryBundle

[![Build Status](https://github.com/sofascore/purgatory-bundle/workflows/Tests/badge.svg)](https://github.com/sofascore/purgatory-bundle/actions)
[![Latest Stable Version](https://poser.pugx.org/sofascore/purgatory-bundle/v/stable)](https://packagist.org/packages/sofascore/purgatory-bundle)
[![Build Status](https://github.com/sofascore/purgatory-bundle/workflows/Tests/badge.svg)](https://github.com/sofascore/purgatory-bundle/actions)
[![Code Coverage](https://codecov.io/gh/sofascore/purgatory-bundle/graph/badge.svg?token=HWMVLVSTIC)](https://codecov.io/gh/sofascore/purgatory-bundle)
[![License](https://poser.pugx.org/sofascore/purgatory-bundle/license)](https://packagist.org/packages/sofascore/purgatory-bundle)

A Symfony bundle for creating and sending cache purge requests to HTTP cache backends like Varnish.
Expand Down

0 comments on commit 07a6f61

Please sign in to comment.