Skip to content

Commit bc52f13

Browse files
add codecov and badges in README
1 parent 8e36e61 commit bc52f13

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,9 @@ jobs:
3030
run: |
3131
source $CONDA/etc/profile.d/conda.sh
3232
conda activate gnn
33-
pip install pytest
34-
pytest
33+
pip install pytest pytest-cov
34+
pytest --cov --cov-branch --cov-report=xml
35+
- name: Upload coverage reports to Codecov
36+
uses: codecov/codecov-action@v5
37+
with:
38+
token: ${{ secrets.CODECOV_TOKEN }}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](./LICENSE)
33
[![Python package](https://github.com/LopezGroup-ICIQ/gamenet_uq/actions/workflows/tests.yml/badge.svg)](https://github.com/LopezGroup-ICIQ/gamenet_uq/actions/workflows/tests.yml)
44
[![PyPI version](https://img.shields.io/pypi/v/gamenet-uq.svg)](https://pypi.org/project/gamenet-uq/)
5+
[![PyPI Downloads](https://static.pepy.tech/personalized-badge/gamenet-uq?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads)](https://pepy.tech/projects/gamenet-uq)
6+
[![codecov](https://codecov.io/gh/LopezGroup-ICIQ/gamenet_uq/graph/badge.svg?token=W1GBOYU6Q0)](https://codecov.io/gh/LopezGroup-ICIQ/gamenet_uq)
57

68
# GAME-Net-UQ
79

0 commit comments

Comments
 (0)