Skip to content

Commit 34c3b08

Browse files
committed
Remove postfix service container from CI
The lavr/docker-postfix Docker image is outdated and has been removed from Docker Hub. SMTP integration tests are disabled until the testing approach is revisited.
1 parent 906bd5d commit 34c3b08

1 file changed

Lines changed: 1 addition & 29 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,6 @@ jobs:
2323
- {name: '3.8', python: '3.8', os: ubuntu-latest, tox: py38}
2424
- {name: '3.7', python: '3.7', os: ubuntu-latest, tox: py37}
2525
- {name: '3.6', python: '3.6', os: ubuntu-20.04, tox: py36}
26-
services:
27-
postfix:
28-
image: lavr/docker-postfix
29-
env:
30-
SMTP_SERVER: smtp.gmail.com
31-
SMTP_PORT: 587
32-
SMTP_USERNAME: ${{ secrets.SMTP_TEST_GMAIL_USER }}
33-
SMTP_PASSWORD: ${{ secrets.SMTP_TEST_GMAIL_PASSWORD }}
34-
SERVER_HOSTNAME: python-emails-tests.github-ci.lavr.me
35-
ports:
36-
- 2525:25
3726
steps:
3827
- uses: actions/checkout@v2
3928
- uses: actions/setup-python@v2
@@ -58,22 +47,5 @@ jobs:
5847
SMTP_TEST_SUBJECT_SUFFIX: "github-actions sha:${{ github.sha }} run_id:${{ github.run_id }}"
5948
SMTP_TEST_MAIL_FROM: python-emails-tests@lavr.me
6049
SMTP_TEST_MAIL_TO: python-emails-tests@lavr.me
61-
SMTP_TEST_SETS: LOCAL
62-
SMTP_TEST_LOCAL_WITHOUT_TLS: true
63-
SMTP_TEST_LOCAL_HOST: 127.0.0.1
64-
SMTP_TEST_LOCAL_PORT: 2525
65-
66-
SMTP_TEST_GMAIL_TO: python-emails-tests@lavr.me
67-
SMTP_TEST_GMAIL_USER: ${{ secrets.SMTP_TEST_GMAIL_USER }}
68-
SMTP_TEST_GMAIL_PASSWORD: ${{ secrets.SMTP_TEST_GMAIL_PASSWORD }}
69-
SMTP_TEST_GMAIL_WITH_TLS: true
70-
SMTP_TEST_GMAIL_HOST: smtp.gmail.com
71-
SMTP_TEST_GMAIL_PORT: 587
72-
SMTP_TEST_YAMAIL_TO: python.emails.test.2@yandex.ru
73-
SMTP_TEST_YAMAIL_FROM: python.emails.test.2@yandex.ru
74-
SMTP_TEST_YAMAIL_USER: python.emails.test.2
75-
SMTP_TEST_YAMAIL_PASSWORD: ${{ secrets.SMTP_TEST_YAMAIL_PASSWORD }}
76-
SMTP_TEST_YAMAIL_WITH_TLS: true
77-
SMTP_TEST_YAMAIL_HOST: smtp.yandex.ru
78-
SMTP_TEST_YAMAIL_PORT: 25
50+
SMTP_TEST_SETS: ""
7951
run: tox -e ${{ matrix.tox }}

0 commit comments

Comments
 (0)