Rewrite one-key installer for flavors and add smoke tests

This commit is contained in:
tsosunchia committed 2026-04-08 19:00:50 +08:00
1 parent fc0277a93f
commit 7ff76cfbde
5 files changed
+662 -103

No files matched your search

+12
View File
@@ -15,6 +15,8 @@ on:
- "**/*.go"
- "go.mod"
- "go.sum"
- "nt_install.sh"
- "scripts/test_nt_install.sh"
- ".github/workflows/*.yml"
pull_request:
types: [opened, synchronize, reopened]
@@ -22,6 +24,8 @@ on:
- "**/*.go"
- "go.mod"
- "go.sum"
- "nt_install.sh"
- "scripts/test_nt_install.sh"
- ".github/workflows/*.yml"
workflow_dispatch:
@@ -53,6 +57,14 @@ jobs:
sudo go env -w GOTOOLCHAIN=go1.26.0+auto
sudo go test -v -covermode=count -coverprofile='coverage.out' ./...
- name: Smoke test nt_install.sh
if: ${{ matrix.os != 'windows-latest' }}
shell: bash
run: |
bash -n nt_install.sh
sh -n nt_install.sh
bash scripts/test_nt_install.sh
- name: Test with windows
if: ${{ matrix.os == 'windows-latest' }}
run: |