Files
netbird/.github/workflows/install-script-test.yml
Brad Ison e44d68a035 [misc] Run CI on pushes to release branches
Extends every push-to-main CI workflow to also trigger on release-*
branches, so a backport merged to a release branch gets the same
post-merge test coverage main gets. Pull request triggers are already
branch-unfiltered, so backport PRs were covered; the gap was the branch
state after merging.

sync-main is deliberately untouched: it syncs main into a downstream
repository and must never run for a release branch.
2026-08-11 18:31:01 +02:00

41 lines
1.1 KiB
YAML

name: Test installation
on:
push:
branches:
- main
- "release-*"
pull_request:
paths:
- "release_files/install.sh"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || github.actor_id }}
cancel-in-progress: true
jobs:
test-install-script:
strategy:
fail-fast: false
max-parallel: 2
matrix:
os: [ubuntu-latest, macos-latest]
skip_ui_mode: [true, false]
install_binary: [true, false]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: run install script
env:
SKIP_UI_APP: ${{ matrix.skip_ui_mode }}
USE_BIN_INSTALL: ${{ matrix.install_binary }}
GITHUB_TOKEN: ${{ secrets.RO_API_CALLER_TOKEN }}
run: |
[ "$SKIP_UI_APP" == "false" ] && export XDG_CURRENT_DESKTOP="none"
cat release_files/install.sh | sh -x
- name: check cli binary
run: command -v netbird