Skip to content

Commit 844cda3

Browse files
adding coverage
1 parent cecfb47 commit 844cda3

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/pull_request.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,14 @@ jobs:
6464
run: |
6565
source .venv/bin/activate
6666
pytest tests/ -v
67+
68+
- name: Output a coverage report file
69+
run: |
70+
source .venv/bin/activate
71+
pip install pytest pytest-cov
72+
pytest --cov-branch --cov-report=xml
73+
74+
- name: Upload coverage reports to Codecov
75+
uses: codecov/codecov-action@v5
76+
with:
77+
token: ${{ secrets.CODECOV_TOKEN }}

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
[![Workflow](https://img.shields.io/github/actions/workflow/status/michaelthomasletts/boto3-refresh-session/push.yml?logo=github)](https://github.com/michaelthomasletts/boto3-refresh-session/actions/workflows/push_pullrequest.yml)
44
![Python Version](https://img.shields.io/pypi/pyversions/boto3-refresh-session?style=pypi)
55
![GitHub last commit](https://img.shields.io/github/last-commit/michaelthomasletts/boto3-refresh-session?logo=github)
6+
![PyPI - Downloads](https://img.shields.io/pypi/dm/boto3-refresh-session?logo=pypi)
7+
[![codecov](https://codecov.io/gh/michaelthomasletts/boto3-refresh-session/graph/badge.svg?token=Z7GW20P4O6)](https://codecov.io/gh/michaelthomasletts/boto3-refresh-session)
68
![GitHub Repo stars](https://img.shields.io/github/stars/michaelthomasletts/boto3-refresh-session?logo=github)
79
![GitHub forks](https://img.shields.io/github/forks/michaelthomasletts/boto3-refresh-session?logo=github)
8-
![PyPI - Downloads](https://img.shields.io/pypi/dm/boto3-refresh-session?logo=pypi)
910

1011
![BRS Image](https://raw.githubusercontent.com/michaelthomasletts/boto3-refresh-session/refs/heads/main/doc/brs.png)
1112

0 commit comments

Comments
 (0)