From 121c004100fe723eef8fa978c9996d1f4cb136e2 Mon Sep 17 00:00:00 2001 From: Julian lechner Date: Thu, 17 Sep 2026 14:37:18 +0200 Subject: [PATCH] ci: add ubuntu build and test workflow --- .github/workflows/ci.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..7763019 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,35 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + schedule: + - cron: '23 4 * * 1' + +jobs: + ubuntu: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + - name: Install ShellCheck + run: sudo apt-get update && sudo apt-get install --yes shellcheck + - name: Shell syntax and lint + shell: bash + run: | + git ls-files -z '*.sh' | xargs -0 -r -n1 bash -n + shellcheck --severity=warning $(git ls-files '*.sh') + - name: Python tests + run: for file in scripts/test-*.py; do python3 "$file"; done + - name: Build + env: + REQUIRE_CODEX_SCHEMA: 'false' + run: bash scripts/build.sh --summary + - name: Bash tests + run: | + bash scripts/test-build-validation.sh --summary + bash scripts/test-install-guards.sh --summary + bash scripts/test-plugin-selection.sh --summary + bash scripts/test-quick-update.sh --summary + bash scripts/test-shell-packages.sh --summary + bash scripts/test-managed-install.sh --summary