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 e6e181d commit 5ae48f1Copy full SHA for 5ae48f1
graynet/tests/test_graynet.py
@@ -39,11 +39,13 @@ def find_base_dir(test_dir):
39
40
print('test_dir: {}'.format(test_dir))
41
42
+ import os
43
+ is_CI = os.environ.get('CI', None)
44
+ workspace = Path(os.environ['GITHUB_WORKSPACE']).resolve()
45
+ print('CI : {}\n workspace: {}'.format(is_CI, workspace))
46
+
47
if not base_dir_in.exists():
- import os
- CI = os.environ.get('CI', None)
- if CI:
- workspace = Path(os.environ['GITHUB_WORKSPACE']).resolve()
48
+ if is_CI:
49
print('CI workspace: {}'.format(workspace))
50
base_dir_in = workspace / 'example_data'
51
0 commit comments