Skip to content

Commit

Permalink
add badges to readme; update codecov config
Browse files Browse the repository at this point in the history
Signed-off-by: Vinzenz Rosenkranz <[email protected]>
  • Loading branch information
v1r0x committed Dec 9, 2020
1 parent 8410bf7 commit 871a073
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
- name: Execute tests (Unit and Feature tests) via PHPUnit
run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- uses: codecov/codecov-action@v1
name: Codecov Coverage
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./build/logs/clover.xml
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<p>
<a href='https://coveralls.io/github/eScienceCenter/Spacialist?branch=0.7-giza'>
<img src='https://coveralls.io/repos/github/eScienceCenter/Spacialist/badge.svg?branch=0.7-giza' alt='Coverage Status' />
</a>
<a href='https://travis-ci.com/eScienceCenter/Spacialist'>
<img src='https://travis-ci.com/eScienceCenter/Spacialist.svg?branch=0.7-giza' alt='Build Status' />
<a href="https://codecov.io/gh/eScienceCenter/Spacialist">
<img src="https://codecov.io/gh/eScienceCenter/Spacialist/branch/master/graph/badge.svg?token=4VVZQDJXSM"/>
</a>
<img src="https://github.com/eScienceCenter/Spacialist/workflows/PhpUnit/badge.svg"/>
<a href='https://david-dm.org/eScienceCenter/Spacialist'>
<img src='https://david-dm.org/eScienceCenter/Spacialist.svg' alt='Dependency Status' />
</a>
Expand Down
6 changes: 5 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
codecov:
require_ci_to_pass: yes
notify:
wait_for_ci: yes

coverage:
status:
project:
default:
target: auto
threshold: 0.5%
base: auto
if_ci_failed: error

comment: false
comment: false

0 comments on commit 871a073

Please sign in to comment.