Skip to content

Commit fa79afb

Browse files
authored
feat: Configure Codecov and update badge (#18)
Adds a `codecov.yml` to configure pull request comments. Updates the `README.md` to use the graphical Codecov badge.
1 parent be41b13 commit fa79afb

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![PyPI Version](https://img.shields.io/pypi/v/my_python_project)](https://pypi.org/project/my_python_project/)
44
[![Build Status](https://img.shields.io/github/actions/workflow/status/[USERNAME]/[REPO_NAME]/ci-cd.yml?branch=main)](https://github.com/[USERNAME]/[REPO_NAME]/actions/workflows/ci-cd.yml)
5-
[![Codecov](https://img.shields.io/codecov/c/github/[USERNAME]/[REPO_NAME])](https://codecov.io/gh/[USERNAME]/[REPO_NAME])
5+
[![codecov](https://codecov.io/gh/[USERNAME]/[REPO_NAME]/branch/main/graph/badge.svg)](https://codecov.io/gh/[USERNAME]/[REPO_NAME])
66
[![License](https://img.shields.io/badge/License-Prosperity%203.0.0-blue.svg)](LICENSE)
77
[![Code style: ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
88
[![Python Versions](https://img.shields.io/pypi/pyversions/my_python_project)](https://pypi.org/project/my_python_project)

codecov.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
comment:
2+
layout: "reach,diff,flags,files,footer"
3+
behavior: default
4+
require_changes: false

0 commit comments

Comments
 (0)