Fix missing --cov-report

This commit is contained in:
Hsiao-Wei Wang 2021-03-15 19:20:36 +08:00
parent 339d100f72
commit a2268a432c
No known key found for this signature in database
GPG Key ID: 1111A8A81778319E
2 changed files with 1 additions and 2 deletions

View File

@ -86,7 +86,7 @@ install_test:
test: pyspec
. venv/bin/activate; cd $(PY_SPEC_DIR); \
python3 -m pytest -n 4 --disable-bls --cov=eth2spec.phase0.spec --cov=eth2spec.phase1.spec --cov=eth2spec.altair.spec -cov-report="html:$(COV_HTML_OUT)" --cov-branch eth2spec
python3 -m pytest -n 4 --disable-bls --cov=eth2spec.phase0.spec --cov=eth2spec.phase1.spec --cov=eth2spec.altair.spec --cov-report="html:$(COV_HTML_OUT)" --cov-branch eth2spec
find_test: pyspec
. venv/bin/activate; cd $(PY_SPEC_DIR); \

View File

@ -539,7 +539,6 @@ class PySpecCommand(Command):
specs/altair/fork.md
specs/altair/sync-protocol.md
"""
# TODO: add specs/altair/sync-protocol.md back when the GeneralizedIndex helpers are included.
else:
raise Exception('no markdown files specified, and spec fork "%s" is unknown', self.spec_fork)