From 3b411e0a7276a479be9cb651f72e9085421b803d Mon Sep 17 00:00:00 2001 From: junjiequan Date: Mon, 16 Feb 2026 15:37:46 +0100 Subject: [PATCH] test(monitor): add resource minotor logs for e2e test job --- .github/workflows/test.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a3f1037d1..f07446e90 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -125,6 +125,17 @@ jobs: docker compose build --no-cache docker compose up -d + - name: Start Background Resource Monitor for Docker Containers + run: | + nohup bash -c ' + while true; do + echo "=== $(date) ===" + free -h + docker stats --no-stream + sleep 10 + done + ' > monitor.log 2>&1 & + - name: Run Cypress tests uses: cypress-io/github-action@v6 with: @@ -144,6 +155,9 @@ jobs: run: | docker compose down -v + - name: Output Docker Container Resource Monitor Logs + run: cat monitor.log + - uses: actions/upload-artifact@v6 if: ${{ failure() }} with: