Skip to content

Commit 3130eab

Browse files
committed
fix tests attempt
1 parent 7d3c251 commit 3130eab

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/restart-dev-and-test-with-custom-base-port.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Run tests (debug cancellation)
4242
run: |
4343
set +e
44-
trap 'echo "Received SIGTERM during tests"; pgrep -a node || true; ps -eo pid,ppid,pgid,comm | rg -n "node|vitest|pnpm|turbo" || true' TERM
44+
trap 'echo "Received SIGTERM during tests"; pgrep -a node || true; ps -eo pid,ppid,pgid,comm | grep -E "node|vitest|pnpm|turbo" || true' TERM
4545
pnpm run test --reporter=verbose -- --run --watch=false
4646
status=$?
4747
echo "Test exit code: $status"
@@ -60,4 +60,4 @@ jobs:
6060
node -v
6161
pnpm -v
6262
pgrep -a node || true
63-
ps -eo pid,ppid,pgid,comm | rg -n "node|vitest|pnpm|turbo" || true
63+
ps -eo pid,ppid,pgid,comm | grep -E "node|vitest|pnpm|turbo" || true

.github/workflows/restart-dev-and-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Run tests (debug cancellation)
4141
run: |
4242
set +e
43-
trap 'echo "Received SIGTERM during tests"; pgrep -a node || true; ps -eo pid,ppid,pgid,comm | rg -n "node|vitest|pnpm|turbo" || true' TERM
43+
trap 'echo "Received SIGTERM during tests"; pgrep -a node || true; ps -eo pid,ppid,pgid,comm | grep -E "node|vitest|pnpm|turbo" || true' TERM
4444
pnpm run test --reporter=verbose -- --run --watch=false
4545
status=$?
4646
echo "Test exit code: $status"
@@ -59,4 +59,4 @@ jobs:
5959
node -v
6060
pnpm -v
6161
pgrep -a node || true
62-
ps -eo pid,ppid,pgid,comm | rg -n "node|vitest|pnpm|turbo" || true
62+
ps -eo pid,ppid,pgid,comm | grep -E "node|vitest|pnpm|turbo" || true

.github/workflows/setup-tests-with-custom-base-port.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Run tests (debug cancellation)
5151
run: |
5252
set +e
53-
trap 'echo "Received SIGTERM during tests"; pgrep -a node || true; ps -eo pid,ppid,pgid,comm | rg -n "node|vitest|pnpm|turbo" || true' TERM
53+
trap 'echo "Received SIGTERM during tests"; pgrep -a node || true; ps -eo pid,ppid,pgid,comm | grep -E "node|vitest|pnpm|turbo" || true' TERM
5454
pnpm run test --reporter=verbose -- --run --watch=false
5555
status=$?
5656
echo "Test exit code: $status"
@@ -65,4 +65,4 @@ jobs:
6565
node -v
6666
pnpm -v
6767
pgrep -a node || true
68-
ps -eo pid,ppid,pgid,comm | rg -n "node|vitest|pnpm|turbo" || true
68+
ps -eo pid,ppid,pgid,comm | grep -E "node|vitest|pnpm|turbo" || true

.github/workflows/setup-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Run tests (debug cancellation)
4949
run: |
5050
set +e
51-
trap 'echo "Received SIGTERM during tests"; pgrep -a node || true; ps -eo pid,ppid,pgid,comm | rg -n "node|vitest|pnpm|turbo" || true' TERM
51+
trap 'echo "Received SIGTERM during tests"; pgrep -a node || true; ps -eo pid,ppid,pgid,comm | grep -E "node|vitest|pnpm|turbo" || true' TERM
5252
pnpm run test --reporter=verbose -- --run --watch=false
5353
status=$?
5454
echo "Test exit code: $status"
@@ -63,4 +63,4 @@ jobs:
6363
node -v
6464
pnpm -v
6565
pgrep -a node || true
66-
ps -eo pid,ppid,pgid,comm | rg -n "node|vitest|pnpm|turbo" || true
66+
ps -eo pid,ppid,pgid,comm | grep -E "node|vitest|pnpm|turbo" || true

0 commit comments

Comments
 (0)