Skip to content

Commit

Permalink
πŸ’š(ci) also save Dimail logs from E2E test runs
Browse files Browse the repository at this point in the history
To help debug with Dimail interop, save logs from the Dimail container.
  • Loading branch information
Laurent Bossavit authored and Laurent Bossavit committed Nov 12, 2024
1 parent 7037446 commit 743a6a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/people.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ jobs:
if: always()
run: docker compose logs > src/frontend/apps/e2e/report/logs.txt

- name: Save Dimail logs
if: always()
run: docker compose logs > src/frontend/apps/e2e/report/dimail-logs.txt

- uses: actions/upload-artifact@v4
if: always()
with:
Expand Down
3 changes: 0 additions & 3 deletions src/backend/mailbox_manager/utils/dimail.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
"""A minimalist client to synchronize with mailbox provisioning API."""

<<<<<<< HEAD
import ast
=======
import json
>>>>>>> 3617ab6 (πŸ›(dimail) fix unexpected status_code for proper debug)
import smtplib
from email.errors import HeaderParseError, NonASCIILocalPartDefect
from email.headerregistry import Address
Expand Down

0 comments on commit 743a6a5

Please sign in to comment.