Skip to content

Commit bd28322

Browse files
committed
skipping tests which need bulky packages
1 parent ef08149 commit bd28322

File tree

4 files changed

+31
-20
lines changed

4 files changed

+31
-20
lines changed

test-requirements-operators.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
-r test-requirements.txt
22
-e ".[forecast]"
3-
-e ".[anomaly]"
4-
-e ".[recommender]"
5-
-e ".[feature-store-marketplace]"
3+
#-e ".[anomaly]"
4+
#-e ".[recommender]"
5+
#-e ".[feature-store-marketplace]"
66
plotly
77
pandas>=2.0.0
88
protobuf==4.25.8
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*--
3+
4+
# Copyright (c) 2025 Oracle and/or its affiliates.
5+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
6+
7+
import pytest
8+
9+
pytestmark = pytest.mark.skip(reason="Skipping entire test package")

tests/operators/anomaly/test_anomaly_simple.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22

3-
# Copyright (c) 2023, 2024 Oracle and/or its affiliates.
3+
# Copyright (c) 2023, 2025 Oracle and/or its affiliates.
44
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
55

66
import os
@@ -79,20 +79,20 @@
7979
# "windstats", "windstats_monthly", "zms",
8080

8181
MODELS = [
82-
"autots",
83-
"oneclasssvm",
82+
# "autots",
83+
# "oneclasssvm",
8484
"isolationforest",
85-
"randomcutforest",
86-
"dagmm",
87-
"deep_point_anomaly_detector",
88-
"lstm_ed",
89-
"spectral_residual",
90-
"vae",
91-
"arima",
92-
"ets",
93-
"prophet",
94-
"sarima",
95-
"bocpd",
85+
# "randomcutforest",
86+
# "dagmm",
87+
# "deep_point_anomaly_detector",
88+
# "lstm_ed",
89+
# "spectral_residual",
90+
# "vae",
91+
# "arima",
92+
# "ets",
93+
# "prophet",
94+
# "sarima",
95+
# "bocpd",
9696
]
9797

9898

tests/operators/recommender/test_recommender.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
#!/usr/bin/env python
22

3-
# Copyright (c) 2023, 2024 Oracle and/or its affiliates.
3+
# Copyright (c) 2023, 2025 Oracle and/or its affiliates.
44
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
55

66
import os
77
import subprocess
88
import tempfile
99
from time import sleep
1010

11+
import pytest
1112
import yaml
1213

1314
DATASET_PREFIX = f"{os.path.dirname(os.path.abspath(__file__))}/../data/recommendation/"
1415

1516

17+
@pytest.mark.skip()
1618
def test_recommender():
1719
user_file = f"{DATASET_PREFIX}users.csv"
1820
item_file = f"{DATASET_PREFIX}items.csv"
@@ -42,8 +44,8 @@ def test_recommender():
4244
"interaction_column": "rating",
4345
"recommendations_filename": "recommendations.csv",
4446
"generate_report": True,
45-
"report_filename": "report.html"
46-
}
47+
"report_filename": "report.html",
48+
},
4749
}
4850

4951
with tempfile.TemporaryDirectory() as tmpdirname:

0 commit comments

Comments
 (0)