Skip to content

Commit 2e9af96

Browse files
committed
Configure codecov 1
1 parent 3cfc49b commit 2e9af96

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/phpunit.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,10 @@ jobs:
5656
run: "composer install --no-interaction --no-progress --no-suggest"
5757

5858
- name: "Tests"
59-
run: "vendor/bin/phpunit"
59+
run: "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover coverage.xml"
60+
61+
- name: "Send codecov report0"
62+
uses: codecov/codecov-action@v1
63+
with:
64+
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
65+
files: ./coverage.xml

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
Antidot Framework
1+
Antidot Framework Runtime
22
=================
33

4-
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/antidot-framework/antidot-framework/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/antidot-framework/antidot-framework/?branch=master)
54
[![Code Coverage](https://scrutinizer-ci.com/g/antidot-framework/antidot-framework/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/antidot-framework/antidot-framework/?branch=master)
65
[![Build Status](https://scrutinizer-ci.com/g/antidot-framework/antidot-framework/badges/build.png?b=master)](https://scrutinizer-ci.com/g/antidot-framework/antidot-framework/build-status/master)
76
[![Code Intelligence Status](https://scrutinizer-ci.com/g/antidot-framework/antidot-framework/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence)

0 commit comments

Comments
 (0)