Skip to content

Commit bed3803

Browse files
committed
Circumvent pyvda OS version check in CICD env
1 parent 997766d commit bed3803

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
if os.getenv('GITHUB_ACTIONS') == 'true':
3333

3434
def pytest_sessionstart():
35+
# see https://github.com/mrob95/pyvda/blob/e66b41b2b11a4016fcc346c793484575038500f5/pyvda/__init__.py#L54
36+
os.environ['READTHEDOCS'] = '1'
37+
3538
shutil.copyfile(__pyvda_utils, __pyvda_utils.parent / 'utils-old.py')
3639

3740
with open(__pyvda_utils, 'r') as f:

0 commit comments

Comments
 (0)