We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23e01dd commit 71901a3Copy full SHA for 71901a3
tests/conftest.py
@@ -15,7 +15,10 @@ def codebox(request: pytest.FixtureRequest) -> CodeBox:
15
if request.param == "local":
16
return LOCALBOX
17
18
- if request.param == "docker" and os.system("docker ps > /dev/null 2>&1") != 0:
+ if request.param == "docker" and (
19
+ os.system("docker ps > /dev/null 2>&1") != 0
20
+ or os.getenv("GITHUB_ACTIONS") == "true"
21
+ ):
22
pytest.skip("Docker is not running")
23
24
return CodeBox(api_key=request.param)
0 commit comments