Skip to content

Commit

Permalink
Fix cibuild. See how unit tests perform on ci?
Browse files Browse the repository at this point in the history
  • Loading branch information
lschoe committed Jul 18, 2024
1 parent fe48285 commit 3f1c7f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ packages = ["winloop"]

[tool.cibuildwheel]
build-frontend = "build"
# Winloop comment: skip tests for now ("ImportError: cannot import name 'includes' from ... " in GitHub action)
#test-extras = "test"
#test-command = "python -m unittest discover -v {project}/tests"
test-extras = "test"
test-command = "python -m unittest discover -v {project}/tests"

[tool.pytest.ini_options]
addopts = "--capture=no --assert=plain --strict-markers --tb=native --import-mode=importlib"
Expand Down
4 changes: 3 additions & 1 deletion winloop/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

from asyncio.events import BaseDefaultEventLoopPolicy as __BasePolicy

from . import includes as __includes # NOQA
# Winloop comment: next line commented out for now. Somehow winloop\includes
# is not included in the Winloop wheel, affecting version 0.1.6 on PyPI.
#from . import includes as __includes # NOQA
from .loop import Loop as __BaseLoop # NOQA
from ._version import __version__ # NOQA

Expand Down

0 comments on commit 3f1c7f8

Please sign in to comment.