Skip to content

Commit 247dca9

Browse files
committed
chore: codecov job and update readme with codecov badge
1 parent f189bce commit 247dca9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/test.yml

+7
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,10 @@ jobs:
3333
3434
- name: Run tests
3535
run: coverage run --source=json2html setup.py test
36+
37+
- name: Upload coverage to Codecov
38+
uses: codecov/codecov-action@v3
39+
env:
40+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
41+
with:
42+
fail_ci_if_error: true

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Python module to convert `JSON` into a human readable `HTML Table` representation.
44

5-
![Latest Version](https://img.shields.io/pypi/v/json2html.svg) ![Downloads](https://img.shields.io/pypi/dm/json2html.svg) [![CI](https://github.com/softvar/json2html/workflows/CI/badge.svg?branch=master)](https://github.com/softvar/json2html/actions?query=workflow%3ACI)
5+
![Latest Version](https://img.shields.io/pypi/v/json2html.svg) ![Downloads](https://img.shields.io/pypi/dm/json2html.svg) [![CI](https://github.com/softvar/json2html/workflows/CI/badge.svg?branch=master)](https://github.com/softvar/json2html/actions?query=workflow%3ACI) [![codecov](https://codecov.io/gh/softvar/json2html/branch/master/graph/badge.svg?token=)](https://codecov.io/gh/softvar/json2html)
66

77
## Features
88

0 commit comments

Comments
 (0)