Skip to content

Commit f5da172

Browse files
committed
ci: added cross-playform script testing
1 parent 64b69af commit f5da172

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/test-scripts.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test Detection Scripts
2+
3+
on:
4+
push:
5+
branches: [win-check]
6+
7+
jobs:
8+
test-unix:
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest, macos-latest]
12+
runs-on: ${{ matrix.os }}
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Run detection script
16+
run: |
17+
chmod +x detect-openclaw.sh
18+
./detect-openclaw.sh
19+
20+
test-windows:
21+
runs-on: windows-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Run detection script
25+
run: .\detect-openclaw.ps1
26+
shell: powershell

0 commit comments

Comments
 (0)