Skip to content

Commit db30eed

Browse files
committed
revert temp test fixes
1 parent 077f7e8 commit db30eed

4 files changed

Lines changed: 6 additions & 82 deletions

File tree

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

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
runs-on: ubicloud-standard-16
2020
env:
2121
NEXT_PUBLIC_STACK_PORT_PREFIX: "69"
22-
CI: "1"
2322

2423
steps:
2524
- uses: actions/checkout@v6
@@ -38,26 +37,9 @@ jobs:
3837
- name: Start dev environment
3938
run: pnpm run restart-dev-environment
4039

41-
- name: Run tests (debug cancellation)
42-
run: |
43-
set +e
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
45-
pnpm run test --reporter=verbose -- --run --watch=false
46-
status=$?
47-
echo "Test exit code: $status"
48-
exit $status
40+
- name: Run tests
41+
run: pnpm run test --reporter=verbose
4942

5043
- name: Print dev server logs
5144
run: cat dev-server.log.untracked.txt
5245
if: always()
53-
54-
- name: Debug running processes
55-
if: always()
56-
run: |
57-
echo "CI=$CI"
58-
echo "Runner: $RUNNER_NAME $RUNNER_OS $RUNNER_ARCH"
59-
echo "GitHub event: $GITHUB_EVENT_NAME"
60-
node -v
61-
pnpm -v
62-
pgrep -a node || 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 & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ env:
1717
jobs:
1818
restart-dev-and-test:
1919
runs-on: ubicloud-standard-16
20-
env:
21-
CI: "1"
2220

2321
steps:
2422
- uses: actions/checkout@v6
@@ -37,26 +35,9 @@ jobs:
3735
- name: Start dev environment
3836
run: pnpm run restart-dev-environment
3937

40-
- name: Run tests (debug cancellation)
41-
run: |
42-
set +e
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
44-
pnpm run test --reporter=verbose -- --run --watch=false
45-
status=$?
46-
echo "Test exit code: $status"
47-
exit $status
38+
- name: Run tests
39+
run: pnpm run test --reporter=verbose
4840

4941
- name: Print dev server logs
5042
run: cat dev-server.log.untracked.txt
5143
if: always()
52-
53-
- name: Debug running processes
54-
if: always()
55-
run: |
56-
echo "CI=$CI"
57-
echo "Runner: $RUNNER_NAME $RUNNER_OS $RUNNER_ARCH"
58-
echo "GitHub event: $GITHUB_EVENT_NAME"
59-
node -v
60-
pnpm -v
61-
pgrep -a node || 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: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
runs-on: ubicloud-standard-16
2020
env:
2121
NEXT_PUBLIC_STACK_PORT_PREFIX: "69"
22-
CI: "1"
2322

2423
steps:
2524
- uses: actions/checkout@v6
@@ -47,22 +46,4 @@ jobs:
4746
tail: true
4847
wait-for: 120s
4948
log-output-if: true
50-
- name: Run tests (debug cancellation)
51-
run: |
52-
set +e
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
54-
pnpm run test --reporter=verbose -- --run --watch=false
55-
status=$?
56-
echo "Test exit code: $status"
57-
exit $status
58-
59-
- name: Debug running processes
60-
if: always()
61-
run: |
62-
echo "CI=$CI"
63-
echo "Runner: $RUNNER_NAME $RUNNER_OS $RUNNER_ARCH"
64-
echo "GitHub event: $GITHUB_EVENT_NAME"
65-
node -v
66-
pnpm -v
67-
pgrep -a node || true
68-
ps -eo pid,ppid,pgid,comm | grep -E "node|vitest|pnpm|turbo" || true
49+
- run: pnpm run test --reporter=verbose

.github/workflows/setup-tests.yaml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ env:
1717
jobs:
1818
setup-tests:
1919
runs-on: ubicloud-standard-16
20-
env:
21-
CI: "1"
2220
steps:
2321
- uses: actions/checkout@v6
2422

@@ -45,22 +43,4 @@ jobs:
4543
tail: true
4644
wait-for: 120s
4745
log-output-if: true
48-
- name: Run tests (debug cancellation)
49-
run: |
50-
set +e
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
52-
pnpm run test --reporter=verbose -- --run --watch=false
53-
status=$?
54-
echo "Test exit code: $status"
55-
exit $status
56-
57-
- name: Debug running processes
58-
if: always()
59-
run: |
60-
echo "CI=$CI"
61-
echo "Runner: $RUNNER_NAME $RUNNER_OS $RUNNER_ARCH"
62-
echo "GitHub event: $GITHUB_EVENT_NAME"
63-
node -v
64-
pnpm -v
65-
pgrep -a node || true
66-
ps -eo pid,ppid,pgid,comm | grep -E "node|vitest|pnpm|turbo" || true
46+
- run: pnpm run test --reporter=verbose

0 commit comments

Comments
 (0)