|
12 | 12 | # See the License for the specific language governing permissions and |
13 | 13 | # limitations under the License. |
14 | 14 | import logging |
| 15 | +import sys |
15 | 16 | from datetime import timedelta |
16 | 17 |
|
17 | 18 | import pandas as pd |
@@ -98,6 +99,9 @@ def mysql_registry(): |
98 | 99 | container.stop() |
99 | 100 |
|
100 | 101 |
|
| 102 | +@pytest.mark.skipif( |
| 103 | + sys.platform == "darwin", reason="does not run on mac github actions" |
| 104 | +) |
101 | 105 | @pytest.mark.parametrize( |
102 | 106 | "sql_registry", [lazy_fixture("mysql_registry"), lazy_fixture("pg_registry")], |
103 | 107 | ) |
@@ -137,6 +141,9 @@ def test_apply_entity_success(sql_registry): |
137 | 141 | sql_registry.teardown() |
138 | 142 |
|
139 | 143 |
|
| 144 | +@pytest.mark.skipif( |
| 145 | + sys.platform == "darwin", reason="does not run on mac github actions" |
| 146 | +) |
140 | 147 | @pytest.mark.integration |
141 | 148 | @pytest.mark.parametrize( |
142 | 149 | "sql_registry", [lazy_fixture("mysql_registry"), lazy_fixture("pg_registry")], |
@@ -173,6 +180,9 @@ def test_apply_entity_integration(sql_registry): |
173 | 180 | sql_registry.teardown() |
174 | 181 |
|
175 | 182 |
|
| 183 | +@pytest.mark.skipif( |
| 184 | + sys.platform == "darwin", reason="does not run on mac github actions" |
| 185 | +) |
176 | 186 | @pytest.mark.parametrize( |
177 | 187 | "sql_registry", [lazy_fixture("mysql_registry"), lazy_fixture("pg_registry")], |
178 | 188 | ) |
@@ -244,6 +254,9 @@ def test_apply_feature_view_success(sql_registry): |
244 | 254 | sql_registry.teardown() |
245 | 255 |
|
246 | 256 |
|
| 257 | +@pytest.mark.skipif( |
| 258 | + sys.platform == "darwin", reason="does not run on mac github actions" |
| 259 | +) |
247 | 260 | @pytest.mark.parametrize( |
248 | 261 | "sql_registry", [lazy_fixture("mysql_registry"), lazy_fixture("pg_registry")], |
249 | 262 | ) |
@@ -314,7 +327,9 @@ def location_features_from_push(inputs: pd.DataFrame) -> pd.DataFrame: |
314 | 327 | sql_registry.teardown() |
315 | 328 |
|
316 | 329 |
|
317 | | -# TODO(kevjumba): remove this in feast 0.23 when deprecating |
| 330 | +@pytest.mark.skipif( |
| 331 | + sys.platform == "darwin", reason="does not run on mac github actions" |
| 332 | +) |
318 | 333 | @pytest.mark.parametrize( |
319 | 334 | "sql_registry", [lazy_fixture("mysql_registry"), lazy_fixture("pg_registry")], |
320 | 335 | ) |
@@ -434,6 +449,9 @@ def odfv1(feature_df: pd.DataFrame) -> pd.DataFrame: |
434 | 449 | sql_registry.teardown() |
435 | 450 |
|
436 | 451 |
|
| 452 | +@pytest.mark.skipif( |
| 453 | + sys.platform == "darwin", reason="does not run on mac github actions" |
| 454 | +) |
437 | 455 | @pytest.mark.integration |
438 | 456 | @pytest.mark.parametrize( |
439 | 457 | "sql_registry", [lazy_fixture("mysql_registry"), lazy_fixture("pg_registry")], |
@@ -506,6 +524,9 @@ def test_apply_feature_view_integration(sql_registry): |
506 | 524 | sql_registry.teardown() |
507 | 525 |
|
508 | 526 |
|
| 527 | +@pytest.mark.skipif( |
| 528 | + sys.platform == "darwin", reason="does not run on mac github actions" |
| 529 | +) |
509 | 530 | @pytest.mark.integration |
510 | 531 | @pytest.mark.parametrize( |
511 | 532 | "sql_registry", [lazy_fixture("mysql_registry"), lazy_fixture("pg_registry")], |
|
0 commit comments