From: whitequark Date: Fri, 10 Dec 2021 10:45:05 +0000 (+0000) Subject: CI: only discover tests under tests/. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a93876a784df0762c929d8bc42fa265c7b5a9cf;p=nmigen.git CI: only discover tests under tests/. This avoids a crash importing the deprecated `nmigen` module with PYTHONWARNINGS=error set. --- diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 6bd2866..ee5f579 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -37,7 +37,7 @@ jobs: run: | export NMIGEN_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