From f5da172df36b19a0cdf553f790a3f60a29f80e68 Mon Sep 17 00:00:00 2001 From: Dor Munis <5811812+dormunis@users.noreply.github.com> Date: Thu, 5 Feb 2026 12:32:02 +0200 Subject: [PATCH 1/2] ci: added cross-playform script testing --- .github/workflows/test-scripts.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/test-scripts.yml diff --git a/.github/workflows/test-scripts.yml b/.github/workflows/test-scripts.yml new file mode 100644 index 0000000..d86d893 --- /dev/null +++ b/.github/workflows/test-scripts.yml @@ -0,0 +1,26 @@ +name: Test Detection Scripts + +on: + push: + branches: [win-check] + +jobs: + test-unix: + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - name: Run detection script + run: | + chmod +x detect-openclaw.sh + ./detect-openclaw.sh + + test-windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v4 + - name: Run detection script + run: .\detect-openclaw.ps1 + shell: powershell From e48161094d0e420b5ca3f7a2fdce95b74e9a0ea8 Mon Sep 17 00:00:00 2001 From: Dor Munis <5811812+dormunis@users.noreply.github.com> Date: Thu, 5 Feb 2026 13:15:23 +0200 Subject: [PATCH 2/2] ci: run script on main branchj --- .github/workflows/test-scripts.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-scripts.yml b/.github/workflows/test-scripts.yml index d86d893..20f65e5 100644 --- a/.github/workflows/test-scripts.yml +++ b/.github/workflows/test-scripts.yml @@ -2,7 +2,9 @@ name: Test Detection Scripts on: push: - branches: [win-check] + branches: [main] + pull_request: + branches: [main] jobs: test-unix: