Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[skip ci][ci] Fix broken test skips #11456

Merged
merged 1 commit into from
May 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/python/frontend/paddlepaddle/test_forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ def forward(self, x, index):
verify_model(GatherNd(), [x_data, y_data])


@pytest.skip(reason="See https://github.com/apache/tvm/issues/11435")
@pytest.mark.skip(reason="See https://github.com/apache/tvm/issues/11435")
@tvm.testing.uses_gpu
def test_forward_group_norm():
class GroupNorm(nn.Layer):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def predict(self, task, states):
assert found


@pytest.skip(reason="See https://github.com/apache/tvm/issues/11440")
@pytest.mark.skip(reason="See https://github.com/apache/tvm/issues/11440")
def test_mutate_parallel():
"""
The test case initializes evo search with a batch of "bad" states and check whether
Expand Down
2 changes: 1 addition & 1 deletion tests/scripts/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def add_subparser(
kwargs["required"] = not is_optional and not has_default

if str(arg_type).startswith("typing.List"):
kwargs["nargs"] = "+"
kwargs["action"] = "append"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was broken before, only the latest test was added to the args list, this fixes it so the snippet in the PR body works correctly


if arg_cli_name[0] not in seen_prefixes:
subparser.add_argument(f"-{arg_cli_name[0]}", f"--{arg_cli_name}", **kwargs)
Expand Down