Skip to content

Commit

Permalink
Change xfail to skipif for test_regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
tpvasconcelos committed Jan 10, 2024
1 parent e8f130b commit 8faa9df
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/e2e/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@ def test_examples_width_height_set(plot_id: str, example_loader: Callable[[], go
assert isinstance(fig.layout.height, int), msg


@pytest.mark.xfail(
@pytest.mark.skipif(
# TODO: Fix this (i.e. re-enable these tests)!
condition=os.getenv("CI") is not None,
reason=(
"Currently breaking in CI, probably due to small "
"differences in output between environments."
"differences in output between environments. "
"ref: https://github.com/tpvasconcelos/ridgeplot/issues/159"
),
condition=os.getenv("CI") is not None,
)
@pytest.mark.parametrize(("plot_id", "example_loader"), ALL_EXAMPLES)
def test_regressions(plot_id: str, example_loader: Callable[[], go.Figure]) -> None:
Expand Down

0 comments on commit 8faa9df

Please sign in to comment.