[cli-release-discovery][iter-1] fix(install): select stable CLI releases and verify platform assets
这个提交包含在:
@@ -0,0 +1,31 @@
|
||||
name: Installer Tests
|
||||
on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
types: [opened, synchronize, reopened]
|
||||
push:
|
||||
branches: [main]
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
bash-discovery:
|
||||
runs-on: docker-linux-2026-08-29
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: Octopus/checkout@039ede8ebea5a92a9b189261f0336f69e59c9ecd
|
||||
- name: Bash syntax and release-discovery regressions
|
||||
run: |
|
||||
bash -n install
|
||||
python3 -m unittest discover -s tests -p 'test_cli_release_discovery.py' -v
|
||||
powershell-discovery:
|
||||
runs-on: windows-amd64
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- uses: Octopus/checkout@039ede8ebea5a92a9b189261f0336f69e59c9ecd
|
||||
- name: PowerShell discovery and existing host-safety regressions
|
||||
shell: powershell
|
||||
run: |
|
||||
& ./tests/release-discovery.ps1
|
||||
if ($LASTEXITCODE -and $LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
||||
& ./tests/test.ps1
|
||||
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
||||
在新工单中引用
屏蔽一个用户