Chore: add CI check to run tsc on the code #435
Test report - 3.10 ❌
❌ test-results.xml
153 tests were completed in 34s with 82 passed, 69 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 82✔️ | 69❌ | 2✖️ | 34s |
❌ pytest
tests.test_build_js.test_build_js.Tests
✔️ test_autofunction_minimal
✔️ test_autofunction_explicit
✔️ test_autofunction_short
✔️ test_autofunction_long
✔️ test_autofunction_typedef
✔️ test_autofunction_callback
✔️ test_autofunction_example
✔️ test_autofunction_destructured_params
✔️ test_autofunction_defaults_in_doclet
✔️ test_autofunction_defaults_in_code
✔️ test_autofunction_variadic
✔️ test_autofunction_deprecated
✔️ test_autofunction_see
✔️ test_autofunction_static
✔️ test_autoclass
✔️ test_autoclass_members
✔️ test_autoclass_members_list
✔️ test_autoclass_members_list_star
✔️ test_autoclass_alphabetical
✔️ test_autoclass_private_members
✔️ test_autoclass_exclude_members
✔️ test_autoclass_example
✔️ test_autoclass_deprecated
✔️ test_autoclass_see
✔️ test_autoattribute
✔️ test_autoattribute_example
✔️ test_autoattribute_deprecated
✔️ test_autoattribute_see
✔️ test_getter_setter
✔️ test_no_shadowing
✔️ test_restructuredtext_injection
✔️ test_union_types
✔️ test_field_list_unwrapping
tests.test_build_ts.test_build_ts.TestTextBuilder
❌ test_autoclass_constructor
cls = <class 'test_build_ts.TestTextBuilder'>
❌ test_autoclass_order
cls = <class 'test_build_ts.TestTextBuilder'>
❌ test_autoclass_star_order
cls = <class 'test_build_ts.TestTextBuilder'>
❌ test_abstract_extends_and_implements
cls = <class 'test_build_ts.TestTextBuilder'>
❌ test_exported_from
cls = <class 'test_build_ts.TestTextBuilder'>
❌ test_constructorless_class
cls = <class 'test_build_ts.TestTextBuilder'>
❌ test_optional_members
cls = <class 'test_build_ts.TestTextBuilder'>
❌ test_deprecated
cls = <class 'test_build_ts.TestTextBuilder'>
❌ test_example
cls = <class 'test_build_ts.TestTextBuilder'>
❌ test_async
cls = <class 'test_build_ts.TestTextBuilder'>
❌ test_symbol
cls = <class 'test_build_ts.TestTextBuilder'>
❌ test_predicate
cls = <class 'test_build_ts.TestTextBuilder'>
❌ test_get_set
cls = <class 'test_build_ts.TestTextBuilder'>
❌ test_inherited_docs
cls = <class 'test_build_ts.TestTextBuilder'>
❌ test_automodule
cls = <class 'test_build_ts.TestTextBuilder'>
tests.test_build_ts.test_build_ts.TestHtmlBuilder
❌ test_extends_links
cls = <class 'test_build_ts.TestHtmlBuilder'>
❌ test_implements_links
cls = <class 'test_build_ts.TestHtmlBuilder'>
❌ test_xrefs
cls = <class 'test_build_ts.TestHtmlBuilder'>
❌ test_sphinx_link_in_description
cls = <class 'test_build_ts.TestHtmlBuilder'>
❌ test_sphinx_js_type_class
cls = <class 'test_build_ts.TestHtmlBuilder'>
❌ test_autosummary
cls = <class 'test_build_ts.TestHtmlBuilder'>
tests.test_common_mark.test_common_mark.Tests
✔️ test_build_success
tests.test_dot_dot_paths.test_dot_dot_paths.Tests
✔️ test_dot_dot
tests.test_incremental
✔️ test_incremental_js
✖️ test_incremental_ts
tests.test_init
✔️ test_relative_path_root
tests.test_ir
✔️ test_default
✔️ test_missing_default
✔️ test_ir_serialization[x0]
✔️ test_ir_serialization[x1]
✔️ test_ir_serialization[x2]
✔️ test_ir_serialization[x3]
✔️ test_ir_serialization[x4]
✔️ test_ir_serialization[x5]
✔️ test_ir_serialization[x6]
✔️ test_ir_serialization[x7]
✔️ test_ir_serialization[x8]
tests.test_jsdoc_analysis.test_jsdoc
✔️ test_doclet_full_path
tests.test_jsdoc_analysis.test_jsdoc.TestFunction
✔️ test_top_level_and_function
tests.test_jsdoc_analysis.test_jsdoc.TestClass
✔️ test_class
tests.test_parsers
✔️ test_escapes
✔️ test_relative_dirs
tests.test_paths
✔️ test_global
✔️ test_node_modules1
✔️ test_node_modules2
✔️ test_env1
✔️ test_env2
✔️ test_err
✔️ test_global_install
tests.test_renderers
✔️ test_render_description
✔️ test_func_render_simple
✔️ test_func_render_shortnames
✔️ test_func_render_flags
✔️ test_func_render_description
✔️ test_func_render_params
✔️ test_func_render_returns
✔️ test_func_render_type_params
✔️ test_render_xref
✔️ test_func_render_param_type
✔️ test_func_render_param_options
✔️ test_func_render_param_exceptions
✔️ test_func_render_callouts
✔️ test_all
✔️ test_examples
tests.test_suffix_tree
✔️ test_things
✔️ test_full_path
✔️ test_terminal_insertion
✔️ test_ambiguous_even_if_full_path
✔️ test_ambiguous_paths_reported
✔️ test_value_ambiguity
tests.test_testing
✔️ test_dict_where
tests.test_typedoc_analysis.test_typedoc_analysis.TestPathSegments
❌ test_class
+ Exception Group Traceback (most recent call last):
❌ test_instance_property
+ Exception Group Traceback (most recent call last):
❌ test_static_property
+ Exception Group Traceback (most recent call last):
❌ test_interface_property
+ Exception Group Traceback (most recent call last):
❌ test_weird_name
+ Exception Group Traceback (most recent call last):
❌ test_getter
+ Exception Group Traceback (most recent call last):
❌ test_setter
+ Exception Group Traceback (most recent call last):
❌ test_method
+ Exception Group Traceback (most recent call last):
❌ test_static_method
+ Exception Group Traceback (most recent call last):
❌ test_constructor
+ Exception Group Traceback (most recent call last):
❌ test_function
+ Exception Group Traceback (most recent call last):
✖️ test_relative_paths
❌ test_namespaced_var
+ Exception Group Traceback (most recent call last):
tests.test_typedoc_analysis.test_typedoc_analysis.TestConvertNode
❌ test_class1
+ Exception Group Traceback (most recent call last):
❌ test_interface
+ Exception Group Traceback (most recent call last):
❌ test_interface_function_member
+ Exception Group Traceback (most recent call last):
❌ test_variable
+ Exception Group Traceback (most recent call last):
❌ test_function
+ Exception Group Traceback (most recent call last):
❌ test_constructor
+ Exception Group Traceback (most recent call last):
❌ test_properties
+ Exception Group Traceback (most recent call last):
❌ test_getter
+ Exception Group Traceback (most recent call last):
❌ test_setter
+ Exception Group Traceback (most recent call last):
tests.test_typedoc_analysis.test_typedoc_analysis.TestTypeName
❌ test_basic
+ Exception Group Traceback (most recent call last):
❌ test_named_interface
+ Exception Group Traceback (most recent call last):
❌ test_interface_readonly_member
+ Exception Group Traceback (most recent call last):
❌ test_array
+ Exception Group Traceback (most recent call last):
❌ test_literal_types
+ Exception Group Traceback (most recent call last):
❌ test_unions
+ Exception Group Traceback (most recent call last):
❌ test_intersection
+ Exception Group Traceback (most recent call last):
❌ test_generic_function
+ Exception Group Traceback (most recent call last):
❌ test_generic_member
+ Exception Group Traceback (most recent call last):
❌ test_constrained_by_interface
+ Exception Group Traceback (most recent call last):
❌ test_constrained_by_key
+ Exception Group Traceback (most recent call last):
❌ test_class_constrained
+ Exception Group Traceback (most recent call last):
❌ test_constrained_by_constructor
+ Exception Group Traceback (most recent call last):
❌ test_utility_types
+ Exception Group Traceback (most recent call last):
❌ test_internal_symbol_reference
+ Exception Group Traceback (most recent call last):
❌ test_constrained_by_property
+ Exception Group Traceback (most recent call last):
❌ test_optional_property
+ Exception Group Traceback (most recent call last):
❌ test_code_in_description
+ Exception Group Traceback (most recent call last):
❌ test_destructured
+ Exception Group Traceback (most recent call last):
❌ test_funcarg
+ Exception Group Traceback (most recent call last):
❌ test_namedtuplearg
+ Exception Group Traceback (most recent call last):
❌ test_query
+ Exception Group Traceback (most recent call last):
❌ test_type_operator
+ Exception Group Traceback (most recent call last):
❌ test_private_type_alias1
+ Exception Group Traceback (most recent call last):
❌ test_private_type_alias2
+ Exception Group Traceback (most recent call last):
❌ test_hidden_type_top_level
+ Exception Group Traceback (most recent call last):
❌ test_hidden_type_member
+ Exception Group Traceback (most recent call last):
Annotations
Check failure on line 0 in test-results.xml
github-actions / Test report - 3.10
pytest ► tests.test_build_ts.test_build_ts.TestTextBuilder ► test_autoclass_constructor
Failed test found in:
test-results.xml
Error:
cls = <class 'test_build_ts.TestTextBuilder'>
Raw output
cls = <class 'test_build_ts.TestTextBuilder'>
@classmethod
def setup_class(cls):
"""Run Sphinx against the dir adjacent to the testcase."""
cls.docs_dir = join(cls.this_dir(), "source", "docs")
# -v for better tracebacks:
if sphinx_main(
[cls.docs_dir, "-b", cls.builder, "-v", "-E", join(cls.docs_dir, "_build")]
):
> raise RuntimeError("Sphinx build exploded.")
E RuntimeError: Sphinx build exploded.
tests/testing.py:42: RuntimeError
Check failure on line 0 in test-results.xml
github-actions / Test report - 3.10
pytest ► tests.test_build_ts.test_build_ts.TestTextBuilder ► test_autoclass_order
Failed test found in:
test-results.xml
Error:
cls = <class 'test_build_ts.TestTextBuilder'>
Raw output
cls = <class 'test_build_ts.TestTextBuilder'>
@classmethod
def setup_class(cls):
"""Run Sphinx against the dir adjacent to the testcase."""
cls.docs_dir = join(cls.this_dir(), "source", "docs")
# -v for better tracebacks:
if sphinx_main(
[cls.docs_dir, "-b", cls.builder, "-v", "-E", join(cls.docs_dir, "_build")]
):
> raise RuntimeError("Sphinx build exploded.")
E RuntimeError: Sphinx build exploded.
tests/testing.py:42: RuntimeError
Check failure on line 0 in test-results.xml
github-actions / Test report - 3.10
pytest ► tests.test_build_ts.test_build_ts.TestTextBuilder ► test_autoclass_star_order
Failed test found in:
test-results.xml
Error:
cls = <class 'test_build_ts.TestTextBuilder'>
Raw output
cls = <class 'test_build_ts.TestTextBuilder'>
@classmethod
def setup_class(cls):
"""Run Sphinx against the dir adjacent to the testcase."""
cls.docs_dir = join(cls.this_dir(), "source", "docs")
# -v for better tracebacks:
if sphinx_main(
[cls.docs_dir, "-b", cls.builder, "-v", "-E", join(cls.docs_dir, "_build")]
):
> raise RuntimeError("Sphinx build exploded.")
E RuntimeError: Sphinx build exploded.
tests/testing.py:42: RuntimeError
Check failure on line 0 in test-results.xml
github-actions / Test report - 3.10
pytest ► tests.test_build_ts.test_build_ts.TestTextBuilder ► test_abstract_extends_and_implements
Failed test found in:
test-results.xml
Error:
cls = <class 'test_build_ts.TestTextBuilder'>
Raw output
cls = <class 'test_build_ts.TestTextBuilder'>
@classmethod
def setup_class(cls):
"""Run Sphinx against the dir adjacent to the testcase."""
cls.docs_dir = join(cls.this_dir(), "source", "docs")
# -v for better tracebacks:
if sphinx_main(
[cls.docs_dir, "-b", cls.builder, "-v", "-E", join(cls.docs_dir, "_build")]
):
> raise RuntimeError("Sphinx build exploded.")
E RuntimeError: Sphinx build exploded.
tests/testing.py:42: RuntimeError
Check failure on line 0 in test-results.xml
github-actions / Test report - 3.10
pytest ► tests.test_build_ts.test_build_ts.TestTextBuilder ► test_exported_from
Failed test found in:
test-results.xml
Error:
cls = <class 'test_build_ts.TestTextBuilder'>
Raw output
cls = <class 'test_build_ts.TestTextBuilder'>
@classmethod
def setup_class(cls):
"""Run Sphinx against the dir adjacent to the testcase."""
cls.docs_dir = join(cls.this_dir(), "source", "docs")
# -v for better tracebacks:
if sphinx_main(
[cls.docs_dir, "-b", cls.builder, "-v", "-E", join(cls.docs_dir, "_build")]
):
> raise RuntimeError("Sphinx build exploded.")
E RuntimeError: Sphinx build exploded.
tests/testing.py:42: RuntimeError
Check failure on line 0 in test-results.xml
github-actions / Test report - 3.10
pytest ► tests.test_build_ts.test_build_ts.TestTextBuilder ► test_constructorless_class
Failed test found in:
test-results.xml
Error:
cls = <class 'test_build_ts.TestTextBuilder'>
Raw output
cls = <class 'test_build_ts.TestTextBuilder'>
@classmethod
def setup_class(cls):
"""Run Sphinx against the dir adjacent to the testcase."""
cls.docs_dir = join(cls.this_dir(), "source", "docs")
# -v for better tracebacks:
if sphinx_main(
[cls.docs_dir, "-b", cls.builder, "-v", "-E", join(cls.docs_dir, "_build")]
):
> raise RuntimeError("Sphinx build exploded.")
E RuntimeError: Sphinx build exploded.
tests/testing.py:42: RuntimeError
Check failure on line 0 in test-results.xml
github-actions / Test report - 3.10
pytest ► tests.test_build_ts.test_build_ts.TestTextBuilder ► test_optional_members
Failed test found in:
test-results.xml
Error:
cls = <class 'test_build_ts.TestTextBuilder'>
Raw output
cls = <class 'test_build_ts.TestTextBuilder'>
@classmethod
def setup_class(cls):
"""Run Sphinx against the dir adjacent to the testcase."""
cls.docs_dir = join(cls.this_dir(), "source", "docs")
# -v for better tracebacks:
if sphinx_main(
[cls.docs_dir, "-b", cls.builder, "-v", "-E", join(cls.docs_dir, "_build")]
):
> raise RuntimeError("Sphinx build exploded.")
E RuntimeError: Sphinx build exploded.
tests/testing.py:42: RuntimeError
Check failure on line 0 in test-results.xml
github-actions / Test report - 3.10
pytest ► tests.test_build_ts.test_build_ts.TestTextBuilder ► test_deprecated
Failed test found in:
test-results.xml
Error:
cls = <class 'test_build_ts.TestTextBuilder'>
Raw output
cls = <class 'test_build_ts.TestTextBuilder'>
@classmethod
def setup_class(cls):
"""Run Sphinx against the dir adjacent to the testcase."""
cls.docs_dir = join(cls.this_dir(), "source", "docs")
# -v for better tracebacks:
if sphinx_main(
[cls.docs_dir, "-b", cls.builder, "-v", "-E", join(cls.docs_dir, "_build")]
):
> raise RuntimeError("Sphinx build exploded.")
E RuntimeError: Sphinx build exploded.
tests/testing.py:42: RuntimeError
Check failure on line 0 in test-results.xml
github-actions / Test report - 3.10
pytest ► tests.test_build_ts.test_build_ts.TestTextBuilder ► test_example
Failed test found in:
test-results.xml
Error:
cls = <class 'test_build_ts.TestTextBuilder'>
Raw output
cls = <class 'test_build_ts.TestTextBuilder'>
@classmethod
def setup_class(cls):
"""Run Sphinx against the dir adjacent to the testcase."""
cls.docs_dir = join(cls.this_dir(), "source", "docs")
# -v for better tracebacks:
if sphinx_main(
[cls.docs_dir, "-b", cls.builder, "-v", "-E", join(cls.docs_dir, "_build")]
):
> raise RuntimeError("Sphinx build exploded.")
E RuntimeError: Sphinx build exploded.
tests/testing.py:42: RuntimeError
Check failure on line 0 in test-results.xml
github-actions / Test report - 3.10
pytest ► tests.test_build_ts.test_build_ts.TestTextBuilder ► test_async
Failed test found in:
test-results.xml
Error:
cls = <class 'test_build_ts.TestTextBuilder'>
Raw output
cls = <class 'test_build_ts.TestTextBuilder'>
@classmethod
def setup_class(cls):
"""Run Sphinx against the dir adjacent to the testcase."""
cls.docs_dir = join(cls.this_dir(), "source", "docs")
# -v for better tracebacks:
if sphinx_main(
[cls.docs_dir, "-b", cls.builder, "-v", "-E", join(cls.docs_dir, "_build")]
):
> raise RuntimeError("Sphinx build exploded.")
E RuntimeError: Sphinx build exploded.
tests/testing.py:42: RuntimeError
Check failure on line 0 in test-results.xml
github-actions / Test report - 3.10
pytest ► tests.test_build_ts.test_build_ts.TestTextBuilder ► test_symbol
Failed test found in:
test-results.xml
Error:
cls = <class 'test_build_ts.TestTextBuilder'>
Raw output
cls = <class 'test_build_ts.TestTextBuilder'>
@classmethod
def setup_class(cls):
"""Run Sphinx against the dir adjacent to the testcase."""
cls.docs_dir = join(cls.this_dir(), "source", "docs")
# -v for better tracebacks:
if sphinx_main(
[cls.docs_dir, "-b", cls.builder, "-v", "-E", join(cls.docs_dir, "_build")]
):
> raise RuntimeError("Sphinx build exploded.")
E RuntimeError: Sphinx build exploded.
tests/testing.py:42: RuntimeError