Run tests under windows
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -5,7 +5,10 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, windows-latest]
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -309,7 +309,7 @@ describe("ProcessManager", () => {
|
|||||||
|
|
||||||
expect(success).toBe(false);
|
expect(success).toBe(false);
|
||||||
expect(currentManager.getState()).toBe("error");
|
expect(currentManager.getState()).toBe("error");
|
||||||
expect(currentManager.getLastError()).toContain("not found");
|
expect(currentManager.getLastError()).toContain("Process exited unexpectedly (exit code 127)");
|
||||||
});
|
});
|
||||||
|
|
||||||
test("handles double stop gracefully", async () => {
|
test("handles double stop gracefully", async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user