Skip to content

Commit 9cc9528

Browse files
committed
Include coverage stats for our projects
1 parent 59b85d8 commit 9cc9528

File tree

3 files changed

+25
-2
lines changed

3 files changed

+25
-2
lines changed

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build:
1111
python: "3.11"
1212
commands:
1313
- pip install --user tox
14-
- python3 -m tox -e docs -- --strict --site-dir=_readthedocs/html/
14+
- python3 -m tox -e docs
1515
python:
1616
install:
1717
- method: pip

docs/guides/code-reviews.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,26 @@ Whenever you are on reviewed or reviewer side, be gentle and be sure you read th
33
1. https://mtlynch.io/code-review-love/
44
2. https://mtlynch.io/human-code-reviews-1/
55
3. https://mtlynch.io/human-code-reviews-2/
6+
7+
## Coverage
8+
9+
A thumb rule regarding code coverage is that any incoming change should not lower the current coverage level. Codecov is expected to prevent us from merging changes that will lower the coverage level.
10+
11+
- [![codecov](https://codecov.io/github/ansible/ansible-lint/graph/badge.svg?token=QZKqxsNNsL)](https://codecov.io/github/ansible/ansible-lint) ansible-lint
12+
13+
- [![codecov](https://codecov.io/github/ansible/ansible-compat/graph/badge.svg?token=QZKqxsNNsL)](https://codecov.io/github/ansible/ansible-compat) ansible-compat
14+
15+
- [![codecov](https://codecov.io/github/ansible/ansible-navigator/graph/badge.svg?token=QZKqxsNNsL)](https://codecov.io/github/ansible/ansible-navigator) ansible-navigator
16+
- [![codecov](https://codecov.io/github/ansible/molecule/graph/badge.svg?token=QZKqxsNNsL)](https://codecov.io/github/ansible/molecule) molecule
17+
18+
- [![codecov](https://codecov.io/github/ansible/ansible-development-environment/graph/badge.svg?token=QZKqxsNNsL)](https://codecov.io/github/ansible/ansible-development-environment) ansible-development-environment
19+
20+
- [![codecov](https://codecov.io/github/ansible/ansible-creator/graph/badge.svg?token=QZKqxsNNsL)](https://codecov.io/github/ansible/ansible-creator) ansible-creator
21+
22+
- [![codecov](https://codecov.io/github/ansible/ansible-language-server/graph/badge.svg?token=QZKqxsNNsL)](https://codecov.io/github/ansible/ansible-language-server) ansible-language-server
23+
24+
- [![codecov](https://codecov.io/github/ansible/vscode-ansible/graph/badge.svg?token=QZKqxsNNsL)](https://codecov.io/github/ansible/vscode-ansible) vscode-ansible
25+
26+
- [![codecov](https://codecov.io/github/ansible/pytest-ansible/graph/badge.svg?token=QZKqxsNNsL)](https://codecov.io/github/ansible/pytest-ansible) pytest-ansible
27+
28+
- [![codecov](https://codecov.io/github/ansible/tox-ansible/graph/badge.svg?token=QZKqxsNNsL)](https://codecov.io/github/ansible/tox-ansible) tox-ansible

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ passenv =
2222
*
2323
commands =
2424
; ansible-playbook -i localhost, playbooks/sync.yml
25-
mkdocs {posargs:build} --strict
25+
mkdocs {posargs:build --strict --site-dir=_readthedocs/html/}
2626
skip_install = true
2727
usedevelop = false
2828

0 commit comments

Comments
 (0)