Skip to content

Commit d2d5b7f

Browse files
committed
cleanup after running tests
1 parent 2146012 commit d2d5b7f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/test-integrations-tasks.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,14 @@ jobs:
156156
- name: Test celery pinned
157157
run: |
158158
set -x # print commands that are executed
159-
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-celery"
159+
./scripts/runtox.sh --exclude-latest "py${{ matrix.python-version }}-celery" || true
160+
# Add process cleanup to handle hanging processes
161+
echo "Checking for hanging processes after tests..."
162+
ps aux | grep -i 'celery\|python\|redis' || true
163+
echo "Attempting to terminate any hanging processes..."
164+
pkill -f 'celery' || true
165+
pkill -f 'beat' || true
166+
echo "Test celery pinned step completed"
160167
- name: Test dramatiq pinned
161168
run: |
162169
set -x # print commands that are executed

0 commit comments

Comments
 (0)