32 行
997 B
YAML
32 行
997 B
YAML
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 }
|