Skip to content

Commit a441ac6

Browse files
authored
Issue #26: Migrate to qlty (#30)
## What - Update `README` badges. - Add code quality coverage step in CI.
1 parent eda82e2 commit a441ac6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,7 @@ jobs:
2222
tools: composer:v2
2323
- run: composer update --no-progress ${{ matrix.composer-flags }}
2424
- run: vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
25+
- uses: qltysh/qlty-action/coverage@v1
26+
with:
27+
token: {{secrets.QLTY_COVERAGE_TOKEN}}
28+
files: build/logs/clover.xml

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Anime News Network Data Client
22
[![Tests](https://github.com/sprak3000/AnimeNewsNetworkDataAPI/workflows/Tests/badge.svg)](https://github.com/sprak3000/AnimeNewsNetworkDataAPI/actions?query=workflow%3ATests)
3-
[![Maintainability](https://api.codeclimate.com/v1/badges/8f0ca6dec4db4f17da14/maintainability)](https://codeclimate.com/github/sprak3000/AnimeNewsNetworkDataAPI/maintainability)
4-
[![Test Coverage](https://api.codeclimate.com/v1/badges/8f0ca6dec4db4f17da14/test_coverage)](https://codeclimate.com/github/sprak3000/AnimeNewsNetworkDataAPI/test_coverage)
3+
[![Maintainability](https://qlty.sh/gh/sprak3000/projects/AnimeNewsNetworkDataAPI/maintainability.svg)](https://qlty.sh/gh/sprak3000/projects/AnimeNewsNetworkDataAPI)
4+
[![Code Coverage](https://qlty.sh/gh/sprak3000/projects/AnimeNewsNetworkDataAPI/coverage.svg)](https://qlty.sh/gh/sprak3000/projects/AnimeNewsNetworkDataAPI)
55

66
This is a PHP client wrapper for the [Anime News Network](http://www.animenewsnetwork.com/encyclopedia/api.php) data
77
API. If you are interested in contributing back to this project, feel free to read the *Contributing* documentation

0 commit comments

Comments
 (0)