Skip to content

Commit 71901a3

Browse files
committed
🔧 fix CI
1 parent 23e01dd commit 71901a3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/conftest.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ def codebox(request: pytest.FixtureRequest) -> CodeBox:
1515
if request.param == "local":
1616
return LOCALBOX
1717

18-
if request.param == "docker" and os.system("docker ps > /dev/null 2>&1") != 0:
18+
if request.param == "docker" and (
19+
os.system("docker ps > /dev/null 2>&1") != 0
20+
or os.getenv("GITHUB_ACTIONS") == "true"
21+
):
1922
pytest.skip("Docker is not running")
2023

2124
return CodeBox(api_key=request.param)

0 commit comments

Comments
 (0)