1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#! /usr/bin/make -f
export PYBUILD_NAME=textual
# - tests/test_features.py - requires https://github.com/Textualize/textual-dev which we probably dont want to package anyway
$ - tests/test_focus.py - incompatible with pytest-asyncio>=0.25.0, https://github.com/Textualize/textual/issues/5511
# - tests/command_palette/* - rich compatibility
# - tests/snapshot_tests/ - requires https://github.com/Textualize/pytest-textual-snapshot, still to be packaged
# - individual skip tests - rick compatibility
# - test_register_language - requires https://pypi.org/project/tree-sitter-languages/, still to be packaged
# - syntax mark: requires tree-sitter, not in debian; https://github.com/Textualize/textual/issues/4095#issuecomment-1921468004
export PYBUILD_TEST_ARGS = -x -vvv \
-m "not syntax" \
--ignore=tests/test_features.py \
--ignore=tests/test_focus.py \
--ignore=tests/command_palette \
--ignore=tests/snapshot_tests \
-k "not test_footer_highlight_when_pushing_modal \
and not test_softbreak_split_links_rendered_correctly \
and not test_headings_that_look_like_they_contain_markup \
and not test_screen_stack_preserved \
and not test_clicking_outside_command_palette_closes_it \
and not test_command_source_environment \
and not test_escape_closes_when_no_list_visible \
and not test_register_language"
%:
dh $@ --with python3 --buildsystem=pybuild
|