CI: only discover tests under tests/.

This avoids a crash importing the deprecated `nmigen` module with
PYTHONWARNINGS=error set.
This commit is contained in:
whitequark 2021-12-10 10:45:05 +00:00
parent e11d033b0f
commit a7fdf661cf

View file

@ -37,7 +37,7 @@ jobs:
run: |
export AMARANTH_USE_YOSYS=builtin YOSYS=yowasp-yosys SBY=yowasp-sby SMTBMC=yowasp-yosys-smtbmc
export PYTHONWARNINGS=error
python -m coverage run -m unittest
python -m coverage run -m unittest -t . -s tests
codecov
document:
runs-on: ubuntu-latest