-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
@tusharsadhwani: I summon you... to annoy you! </muhahahaha>
I'm so sorry. I just couldn't help but notice that there's a .github/workflow/tox.yml test workflow but no actual tests. Since no tests exist, the workflow always fails whenever someone submits a PR: e.g.,
============================= test session starts ==============================
platform linux -- Python 3.9.22, pytest-8.3.5, pluggy-1.5.0
cachedir: .tox/py39/.pytest_cache
rootdir: /home/runner/work/ipython-beartype/ipython-beartype
configfile: setup.cfg
plugins: cov-6.1.1
collected 0 items
================================ tests coverage ================================
_______________ coverage: platform linux, python 3.9.22-final-0 ________________
Name Stmts Miss Cover Missing
--------------------------------------------------------------
tests/ipython_beartype_test.py 0 0 100%
--------------------------------------------------------------
TOTAL 0 0 100%
============================ no tests ran in 0.03s =============================
py39: exit 5 (0.36 seconds) /home/runner/work/ipython-beartype/ipython-beartype> pytest pid=2117
py39: FAIL code 5 (14.85=setup[14.49]+cmd[0.36] seconds)
evaluation failed :( (14.94 seconds)
I'm not quite sure how we test something like ipython-beartype. For now, perhaps we could just define:
- A trivial unit test
test_ipython_beartype_imports(), which just tries to import public attributes from theipython_beartypepackage. It's not much, but it's better than nothing. I sigh.</sigh>
I am truly apologetic. We now return to your wonderful life in Bengaluru. 🌞
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels