Skip to content

Commit 93755b9

Browse files
committed
adds codecov.
1 parent 5b52041 commit 93755b9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ jobs:
2424
run: vendor/bin/phpunit tests --coverage-clover coverage.xml --coverage-filter src
2525

2626
- name: Upload coverage to Codecov
27-
uses: codecov/codecov-action@v3
27+
uses: codecov/codecov-action@v5
2828
with:
29+
token: ${{ secrets.CODECOV_TOKEN }}
2930
files: ./coverage.xml
3031
flags: formatters
31-
token: ${{ secrets.CODECOV_TOKEN }}
32-
fail_ci_if_error: false
32+
slug: Neuron-PHP/formatting
33+
fail_ci_if_error: true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[![CI](https://github.com/Neuron-PHP/formatting/actions/workflows/ci.yml/badge.svg)](https://github.com/Neuron-PHP/formatting/actions)
2-
[![codecov](https://codecov.io/gh/Neuron-PHP/formatting/graph/badge.svg)](https://codecov.io/gh/Neuron-PHP/formatting)
2+
[![codecov](https://codecov.io/gh/Neuron-PHP/formatting/branch/develop/graph/badge.svg)](https://codecov.io/gh/Neuron-PHP/formatting)
33

44
# Neuron-PHP Formatting
55

0 commit comments

Comments
 (0)