Skip to content

chore(ci): remove unit/integration jobs — ShellCheck only in CI #10

chore(ci): remove unit/integration jobs — ShellCheck only in CI

chore(ci): remove unit/integration jobs — ShellCheck only in CI #10

Workflow file for this run

name: Tests
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
# CI gate: ShellCheck only.
#
# Unit tests (ShellSpec/busybox) and integration tests (sexpect on real hardware)
# are run locally by developers — they require an OpenWrt device and a busybox
# environment that cannot be reliably reproduced in a GitHub-hosted runner.
# See CONTRIBUTING.md for how to run them locally.
jobs:
shellcheck:
name: ShellCheck
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install shellcheck
run: |
sudo apt-get update -qq
sudo apt-get install -y shellcheck
- name: Run shellcheck
# SC3043/SC3045: local and read -p/-t are ash extensions used deliberately;
# not POSIX but supported by busybox ash on all target OpenWrt versions.
run: shellcheck --shell=sh --severity=warning --exclude=SC3043,SC3045 openvpn_server_management.sh