We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2422dc3 commit bf037c3Copy full SHA for bf037c3
tests/test_integration.py
@@ -15,8 +15,19 @@
15
reason="Integration tests require LINGODOTDEV_API_KEY environment variable",
16
)
17
18
+# Check if running in CI environment
19
+IS_CI = (
20
+ os.getenv("CI", "false").lower() == "true"
21
+ or os.getenv("GITHUB_ACTIONS") is not None
22
+)
23
+
24
25
@pytest.mark.asyncio
26
+@pytest.mark.xfail(
27
+ IS_CI,
28
+ reason="Real API tests may fail in CI due to intermittent server errors (502)",
29
+ strict=False,
30
31
class TestRealAPIIntegration:
32
"""Integration tests against the real API"""
33
0 commit comments