Skip to content

Commit 4ec29cf

Browse files
ikidnapmyselfclaude
andcommitted
ci: replace Scrutinizer with Codecov; fix README badges
- Remove .scrutinizer.yml - Add PCOV coverage + codecov/codecov-action@v4 to CI workflow - Fix broken GitHub Actions badge (was pointing to old repo/workflow) - Drop 3 Scrutinizer badges, add CI + Codecov badges Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c6239dc commit 4ec29cf

3 files changed

Lines changed: 11 additions & 40 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
with:
3939
php-version: '8.3'
4040
extensions: mbstring, pdo, pdo_mysql, xml, curl
41+
coverage: pcov
4142

4243
- name: Copy .env
4344
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
@@ -65,4 +66,10 @@ jobs:
6566
run: php artisan passport:install --no-interaction
6667

6768
- name: Run Tests
68-
run: vendor/bin/phpunit
69+
run: vendor/bin/phpunit --coverage-clover coverage.xml
70+
71+
- name: Upload Coverage to Codecov
72+
uses: codecov/codecov-action@v4
73+
with:
74+
files: coverage.xml
75+
fail_ci_if_error: false

.scrutinizer.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
![Laravel](https://github.com/ikidnapmyself/pp-api/workflows/Laravel/badge.svg?branch=master)
2-
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/swinn-io/server/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/swinn-io/server/?branch=master)
3-
[![Code Coverage](https://scrutinizer-ci.com/g/swinn-io/server/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/swinn-io/server/?branch=master)
4-
[![Build Status](https://scrutinizer-ci.com/g/swinn-io/server/badges/build.png?b=master)](https://scrutinizer-ci.com/g/swinn-io/server/build-status/master)
1+
[![CI](https://github.com/swinn-io/server/actions/workflows/ci.yml/badge.svg)](https://github.com/swinn-io/server/actions/workflows/ci.yml)
2+
[![codecov](https://codecov.io/gh/swinn-io/server/branch/master/graph/badge.svg)](https://codecov.io/gh/swinn-io/server)
53
[![StyleCI](https://github.styleci.io/repos/276172517/shield?branch=master)](https://github.styleci.io/repos/276172517?branch=master)
6-
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
75
## About Swinn
86

97
@todo

0 commit comments

Comments
 (0)