Skip to content

Commit 89bcc1e

Browse files
committed
feat: replace macos machine with windows in e2e tests workflow
1 parent c51b2a9 commit 89bcc1e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/e2e-tests.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ on:
2020
jobs:
2121
e2e:
2222
name: Playwright E2E Tests
23-
runs-on: macos-latest
23+
runs-on: windows-latest
24+
defaults:
25+
run:
26+
shell: bash
2427
steps:
2528
- uses: actions/checkout@v4
2629

@@ -31,17 +34,14 @@ jobs:
3134
- name: Build backend binary
3235
run: |
3336
mkdir -p electron-app/binaries
34-
cd backend/cmd && go build -o ../../electron-app/binaries/backend-darwin-arm64 .
37+
cd backend/cmd && go build -o ../../electron-app/binaries/backend-windows-amd64.exe .
3538
3639
- name: Patch backend config
37-
run: sed -i '' 's/validate = true/validate = false/' backend/cmd/dev-config.toml
38-
39-
- name: Add loopback aliases required by backend
40-
run: sudo ifconfig lo0 alias 127.0.0.9
40+
run: sed -i 's/validate = true/validate = false/' backend/cmd/dev-config.toml
4141

4242
- name: Debug - test backend binary
4343
run: |
44-
./electron-app/binaries/backend-darwin-arm64 --config backend/cmd/dev-config.toml 2>&1 &
44+
./electron-app/binaries/backend-windows-amd64.exe --config backend/cmd/dev-config.toml 2>&1 &
4545
PID=$!
4646
sleep 5
4747
kill $PID 2>/dev/null || true

0 commit comments

Comments
 (0)