Skip to content

Commit 815effe

Browse files
committed
Codecov
1 parent dae18e9 commit 815effe

3 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ jobs:
5050
coverage report -m
5151
#coverage report --fail-under=99
5252
coverage xml
53-
#- name: Upload coverage to Codecov
54-
#uses: codecov/codecov-action@v1
55-
#with:
56-
#token: ${{ secrets.CODECOV_TOKEN }}
57-
#file: example/coverage.xml
58-
#flags: unittests
59-
#env_vars: OS,PYTHON
60-
#name: codecov-umbrella
61-
#fail_ci_if_error: true
62-
#path_to_write_report: ./codecov_report.txt
53+
- name: Upload coverage to Codecov
54+
uses: codecov/codecov-action@v1
55+
with:
56+
token: ${{ secrets.CODECOV_TOKEN }}
57+
file: coverage.xml
58+
flags: unittests
59+
env_vars: OS,PYTHON
60+
name: codecov-umbrella
61+
fail_ci_if_error: true
62+
path_to_write_report: ./codecov_report.txt
6363
# verbose: true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
build/*
33
dist/*
44
*.egg-info/*
5+
.coverage

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Django Audit Wazuh
22
------------------
33

44
![CI build](https://github.com/peppelinux/django-audit-wazuh/workflows/django-audit-wazuh/badge.svg)
5+
[![codecov](https://codecov.io/gh/peppelinux/django-audit-wazuh/branch/main/graph/badge.svg)](https://codecov.io/gh/peppelinux/django-audit-wazuh)
56
![pypi](https://img.shields.io/pypi/v/django-audit-wazuh.svg)
67
![Python version](https://img.shields.io/badge/license-Apache%202-blue.svg)
78
![Django versions](https://img.shields.io/pypi/djversions/django-audit-wazuh)

0 commit comments

Comments
 (0)