This has been broken since commit
d71e19e2 (2020-07-22).
nmigen/*
omit =
nmigen/test/*
- */__init__.py
[report]
exclude_lines =
- name: Run tests
run: |
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
document:
runs-on: ubuntu-latest
# 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
# `lib/pythonX.Y/site-packages`. Although not a recommended way, we still try to support it.
- __version__ = "unknown"
+ __version__ = "unknown" # :nocov:
from .hdl import *