forked from tinyhumansai/openhuman
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (38 loc) · 1.1 KB
/
Copy pathinstaller-smoke.yml
File metadata and controls
41 lines (38 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
name: Installer Smoke
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
smoke-unix:
name: Smoke install.sh (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# ubuntu-22.04 re-enabled: install.sh --dry-run now warns + exits 0 when
# no Linux release asset is published (see #785).
os: [macos-latest, ubuntu-22.04]
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Unit tests (install.sh helpers)
run: bash scripts/test_install.sh
- name: Run installer dry-run
run: bash scripts/install.sh --dry-run --verbose
smoke-windows:
name: install.ps1 tests + dry-run (windows-latest)
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Unit tests (MSI args / asset selection)
shell: pwsh
run: pwsh -NoProfile -File ./scripts/tests/OpenHumanWindowsInstall.Tests.ps1
- name: Run installer dry-run
shell: pwsh
run: ./scripts/install.ps1 -DryRun