@@ -398,7 +398,7 @@ jobs:
398
398
runner_os = "${{ matrix.os }}"
399
399
print(runner_os)
400
400
print(github_output)
401
- if "macos " in runner_os:
401
+ if "windows " in runner_os:
402
402
time.sleep(1)
403
403
print("Failed")
404
404
with open(github_output, 'a') as output_file:
@@ -860,23 +860,23 @@ jobs:
860
860
from pathlib import Path
861
861
862
862
print("Checking required checks")
863
- print(os.environ[' NEEDS' ])
863
+ print(os.environ[" NEEDS" ])
864
864
865
- jobs = json.loads(os.environ[' NEEDS' ])
865
+ jobs = json.loads(os.environ[" NEEDS" ])
866
866
job_names = sorted(jobs.keys())
867
867
for job_name in job_names:
868
- result = jobs[job_name][' result' ]
868
+ result = jobs[job_name][" result" ]
869
869
print(f"- {job_name}: {result}")
870
870
print()
871
871
872
872
failed = False
873
873
for job_name in job_names:
874
- result = jobs[job_name][' result' ]
875
-
874
+ result = jobs[job_name][" result" ]
875
+
876
876
# Skip test-go-pg failures on windowsx
877
877
if job_name == "test-go-pg" and result == "failure":
878
878
failed_artifacts = list(Path("pg_failed").glob("pg_failed_*"))
879
- if len(failed_artifacts) == 1 and "windows" in str(failed_artifacts[0].name):
879
+ if len(failed_artifacts) == 1 and "windows" in str(failed_artifacts[0].name):
880
880
continue
881
881
if result in ["failure", "cancelled"]:
882
882
failed = True
0 commit comments