Skip to content
This repository was archived by the owner on Jul 8, 2024. It is now read-only.

Commit 4cb2d90

Browse files
committed
Con cobertura en GitHub, base en la computadora
1 parent 2e4d7f3 commit 4cb2d90

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/vera.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
pip install pytest pytest-cov
2323
- name: Analizando el código con pylint
2424
run: |
25-
pylint -v $(git ls-files '*.py')
25+
pylint --fail-under 2 -v $(git ls-files '*.py')
2626
- name: Analizando los tipos del programa con mypy
2727
run: |
2828
mypy --strict $(git ls-files '*.py')
2929
- name: Ejecutando los tests con cobertura
3030
run: |
31-
pytest -v
31+
pytest -v --cov=src

pytest.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[pytest]
2-
addopts = -ra -vv --cov=src
2+
addopts = -ra -vv
33

0 commit comments

Comments
 (0)