Skip to content

Commit

Permalink
[CI] Skip some additional tests that are failing in the wheel (apache…
Browse files Browse the repository at this point in the history
…#11969)

This PR skips some additional tests that are failing in the nightly wheel.
  • Loading branch information
gigiblender authored Jun 30, 2022
1 parent 6a86c97 commit 288b983
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/tvm/testing/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ def test_something():
IS_IN_CI = os.getenv("CI", "") == "true"

skip_if_wheel_test = pytest.mark.skipif(
os.getenv("WHEEL_TEST") is not None, reason="Test not supported in wheel."
os.getenv("WHEEL_TEST", "").lower() in {"true", "1", "yes"},
reason="Test not supported in wheel.",
)


Expand Down
2 changes: 2 additions & 0 deletions tests/python/ci/test_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def parameterize_named(*values):
return pytest.mark.parametrize(",".join(keys), [tuple(d.values()) for d in values])


@tvm.testing.skip_if_wheel_test
@pytest.mark.parametrize(
"target_url,base_url,commit_sha,expected_url,expected_body",
[
Expand Down Expand Up @@ -826,6 +827,7 @@ def run(source_type, data, check):
)


@tvm.testing.skip_if_wheel_test
@parameterize_named(
dict(
tlcpackstaging_body={
Expand Down

0 comments on commit 288b983

Please sign in to comment.