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

ci(bigquery): disable two failing tests until WIF auth is worked out #10630

Merged
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
7 changes: 7 additions & 0 deletions ibis/backends/bigquery/tests/system/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
import collections
import datetime
import decimal
import os
from urllib.parse import urlparse

import pandas as pd
import pandas.testing as tm
import pyarrow as pa
import pytest
import pytz
from google.api_core.exceptions import Forbidden

import ibis
import ibis.expr.datatypes as dt
Expand Down Expand Up @@ -234,6 +236,11 @@ def test_exists_table_different_project(con):
assert "foobar" not in con.list_tables(database=dataset)


@pytest.mark.xfail(
condition=os.environ.get("GITHUB_ACTIONS") is not None,
raises=Forbidden,
reason="WIF auth not entirely worked out yet",
)
def test_multiple_project_queries_execute(con):
posts_questions = con.table(
"posts_questions", database="bigquery-public-data.stackoverflow"
Expand Down
6 changes: 6 additions & 0 deletions ibis/backends/bigquery/tests/system/udf/test_udf_execute.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import pandas as pd
import pandas.testing as tm
import pytest
from google.api_core.exceptions import Forbidden
from pytest import param

import ibis
Expand Down Expand Up @@ -101,6 +102,11 @@ def my_str_len(s: str) -> float:
assert con.execute(expr) == 8.0


@pytest.mark.xfail(
condition=os.environ.get("GITHUB_ACTIONS") is not None,
raises=Forbidden,
reason="WIF auth not entirely worked out yet",
)
def test_udf_libraries(con):
@udf.scalar.python(
# whatever symbols are exported in the library are visible inside the
Expand Down
Loading