commit 2a95e9ce6025befd679396dafa214c974fe13237 parent 9df606586d0642a0b678812b1f010d7d683e1b1b Author: Henry Unite <unitehenry@gmail.com> Date: Sat, 21 Nov 2026 21:33:41 +0000 ci: test ubuntu install script with docker Diffstat:
| M | .github/workflows/ci.yml | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -114,3 +114,17 @@ jobs: - name: E2E Test run: ./scripts/test opencode + + install: + name: install + runs-on: ubuntu-latest + timeout-minutes: 15 + steps: + - name: Checkout + uses: actions/checkout@v7 + with: + persist-credentials: false + + # The local command uses -it, but GitHub Actions has no TTY, so use -i. + - name: Test Ubuntu install script + run: docker run --rm -i -v "$PWD/install/ubuntu.sh:/tmp/ubuntu.sh:ro" ubuntu:24.04 bash /tmp/ubuntu.sh