Skip to content

Commit

Permalink
ci(bigquery): disable two failing tests until WIF auth is worked out (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored Dec 30, 2024
1 parent 33d6784 commit 0fff576
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
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

0 comments on commit 0fff576

Please sign in to comment.