ci: finish native vector checks and fix Windows installer tests (#12526)

* test: pass installer scripts through stdin on Windows

* ci: allow cold Intel macOS vector builds to finish

* ci: retain completed Rust builds when later platform checks fail
This commit is contained in:
Chris Lu authored and GitHub committed 2026-11-09 16:33:50 -08:00
1 parent 89d3016d5e
commit c1afb1b1cb
2 files changed
+18 -4

No files matched your search

+5 -2
View File
@@ -13,8 +13,11 @@ BASH = os.environ.get('BASH_BINARY', 'bash')
class VectorInstallerTest(unittest.TestCase):
def shell(self, code, **env):
return subprocess.run([BASH, '-c', SOURCE + '\n' + code], env=dict(os.environ, **env),
text=True, capture_output=True)
result = subprocess.run([BASH, '-s'], input=(SOURCE + '\n' + code + '\n').encode('utf-8'),
env=dict(os.environ, **env), capture_output=True)
result.stdout = result.stdout.decode('utf-8', errors='replace')
result.stderr = result.stderr.decode('utf-8', errors='replace')
return result
def test_platforms_and_asset_names(self):
for system, arch, supported, suffix in [