Skip to content

Commit 12b427f

Browse files
committed
chore: change code coverage to qlty
1 parent 0ce204a commit 12b427f

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,17 @@ jobs:
1717
with:
1818
version: 2.5.5
1919

20-
- name: Test & Coverage
21-
uses: paambaati/[email protected]
22-
env:
23-
CC_TEST_REPORTER_ID: a053ec039e0f1be4176cff6646fe1e9fe4d410a828e30d925ff7db04cb459ef6
20+
- name: Run Tests
21+
run: ./.github/scripts/run-phpunit.sh
22+
23+
- name: Upload coverage
24+
uses: qltysh/qlty-action/coverage@v2
2425
with:
25-
coverageCommand: ./.github/scripts/run-phpunit.sh
26-
coverageLocations: coverage.xml:clover
27-
debug: true
26+
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
27+
files: coverage.xml
28+
format: clover
29+
command: publish
30+
verbose: true
2831

2932
- name: Clean up GitHub workspace
3033
uses: docker://ubuntu:latest

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![CI](https://github.com/designcise/bitframe/actions/workflows/ci.yml/badge.svg)](https://github.com/designcise/bitframe/actions/workflows/ci.yml)
2-
[![Maintainability](https://api.codeclimate.com/v1/badges/b326e89aefecd26e60b8/maintainability)](https://codeclimate.com/github/designcise/bitframe/maintainability)
3-
[![Test Coverage](https://api.codeclimate.com/v1/badges/b326e89aefecd26e60b8/test_coverage)](https://codeclimate.com/github/designcise/bitframe/test_coverage)
2+
[![Maintainability](https://qlty.sh/gh/designcise/projects/bitframe/maintainability.svg)](https://qlty.sh/gh/designcise/projects/bitframe)
3+
[![Code Coverage](https://qlty.sh/gh/designcise/projects/bitframe/coverage.svg)](https://qlty.sh/gh/designcise/projects/bitframe)
44

55
# BitFrame PHP Microframework
66

0 commit comments

Comments
 (0)