Reenable artifacts on windows

This commit is contained in:
Darren Burns
2022-09-21 11:37:16 +01:00
parent 4a46257e38
commit 1a658955da

View File

@@ -95,8 +95,8 @@ def pytest_sessionfinish(
)
# TODO: Skipping writing artifacts on Windows on CI for now
is_windows_ci = sys.platform == "win32" and os.getenv("CI") is not None
if diffs and not is_windows_ci:
# is_windows_ci = sys.platform == "win32" and os.getenv("CI") is not None
if diffs:
diff_sort_key = attrgetter("file_similarity")
diffs = list(reversed(sorted(diffs, key=diff_sort_key)))