You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by dr...@apache.org on 2022/06/30 19:50:27 UTC
[tvm] branch main updated: [CI] Skip some additional tests that are failing in the wheel (#11969)
This is an automated email from the ASF dual-hosted git repository.
driazati pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 288b983b82 [CI] Skip some additional tests that are failing in the wheel (#11969)
288b983b82 is described below
commit 288b983b827d12539e23eda4fd9ec1ddd2c8cd1a
Author: Florin Blanaru <fl...@gmail.com>
AuthorDate: Thu Jun 30 20:50:21 2022 +0100
[CI] Skip some additional tests that are failing in the wheel (#11969)
This PR skips some additional tests that are failing in the nightly wheel.
---
python/tvm/testing/utils.py | 3 ++-
tests/python/ci/test_ci.py | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/python/tvm/testing/utils.py b/python/tvm/testing/utils.py
index 96275e2af6..054257e07a 100644
--- a/python/tvm/testing/utils.py
+++ b/python/tvm/testing/utils.py
@@ -97,7 +97,8 @@ SKIP_SLOW_TESTS = os.getenv("SKIP_SLOW_TESTS", "").lower() in {"true", "1", "yes
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.",
)
diff --git a/tests/python/ci/test_ci.py b/tests/python/ci/test_ci.py
index 27297e165f..0ed3f17015 100644
--- a/tests/python/ci/test_ci.py
+++ b/tests/python/ci/test_ci.py
@@ -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",
[
@@ -826,6 +827,7 @@ def test_github_tag_teams(tmpdir_factory):
)
+@tvm.testing.skip_if_wheel_test
@parameterize_named(
dict(
tlcpackstaging_body={