Skip to content

Commit 4c61c91

Browse files
committed
Test both with and without smtp extra
1 parent 42cd6dc commit 4c61c91

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
# Not all Python versions are available for linux AND x64
1313
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
1414
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10']
15+
extra: ['', '-smtp']
1516
fail-fast: false
1617

1718
steps:
@@ -25,4 +26,4 @@ jobs:
2526
python -m pip install --upgrade pip
2627
pip install tox
2728
- name: Test with tox
28-
run: tox -vv -e py
29+
run: tox -vv -e py${{ matrix.extra }}

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py35,py36,py37,py38,py39,py310
2+
envlist = py{35,36,37,38,39,310}{,-smtp}
33
recreate = True
44
isolated_build = True
55

@@ -16,7 +16,7 @@ deps =
1616
six
1717
requests
1818
extras =
19-
smtp
19+
smtp: smtp
2020
commands =
2121
pytest -v \
2222
--junitxml=junit-{envname}.xml \

0 commit comments

Comments
 (0)