mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-24 09:24:27 +01:00
15 lines
309 B
Python
15 lines
309 B
Python
import os
|
|
|
|
import pytest
|
|
|
|
|
|
def skip_in_ci(test_function):
|
|
return pytest.mark.skipif(
|
|
os.environ.get("CI") == "true",
|
|
reason="This test doesn't work on GitHub Actions.",
|
|
)(test_function)
|
|
|
|
|
|
def get_workspace_file_path(workspace, file_name):
|
|
return str(workspace.get_path(file_name))
|