CI: fix code coverage collection.
This has been broken since commit d71e19e2
(2020-07-22).
This commit is contained in:
parent
9746138e55
commit
80194e1a7e
|
@ -4,7 +4,6 @@ include =
|
||||||
nmigen/*
|
nmigen/*
|
||||||
omit =
|
omit =
|
||||||
nmigen/test/*
|
nmigen/test/*
|
||||||
*/__init__.py
|
|
||||||
|
|
||||||
[report]
|
[report]
|
||||||
exclude_lines =
|
exclude_lines =
|
||||||
|
|
2
.github/workflows/main.yaml
vendored
2
.github/workflows/main.yaml
vendored
|
@ -33,7 +33,7 @@ jobs:
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
export NMIGEN_USE_YOSYS=builtin YOSYS=yowasp-yosys SBY=yowasp-sby SMTBMC=yowasp-yosys-smtbmc
|
export NMIGEN_USE_YOSYS=builtin YOSYS=yowasp-yosys SBY=yowasp-sby SMTBMC=yowasp-yosys-smtbmc
|
||||||
python -m unittest discover
|
python -m coverage run -m unittest
|
||||||
codecov
|
codecov
|
||||||
document:
|
document:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -8,7 +8,7 @@ except ImportError:
|
||||||
# No importlib_metadata. This shouldn't normally happen, but some people prefer not installing
|
# No importlib_metadata. This shouldn't normally happen, but some people prefer not installing
|
||||||
# packages via pip at all, instead using PYTHONPATH directly or copying the package files into
|
# packages via pip at all, instead using PYTHONPATH directly or copying the package files into
|
||||||
# `lib/pythonX.Y/site-packages`. Although not a recommended way, we still try to support it.
|
# `lib/pythonX.Y/site-packages`. Although not a recommended way, we still try to support it.
|
||||||
__version__ = "unknown"
|
__version__ = "unknown" # :nocov:
|
||||||
|
|
||||||
|
|
||||||
from .hdl import *
|
from .hdl import *
|
||||||
|
|
Loading…
Reference in a new issue