Skip to content

Commit

Permalink
Test both with and without smtp extra
Browse files Browse the repository at this point in the history
  • Loading branch information
mgorny committed May 29, 2022
1 parent 42cd6dc commit 4c61c91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
# Not all Python versions are available for linux AND x64
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
python-version: [3.5, 3.6, 3.7, 3.8, 3.9, '3.10']
extra: ['', '-smtp']
fail-fast: false

steps:
Expand All @@ -25,4 +26,4 @@ jobs:
python -m pip install --upgrade pip
pip install tox
- name: Test with tox
run: tox -vv -e py
run: tox -vv -e py${{ matrix.extra }}
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py35,py36,py37,py38,py39,py310
envlist = py{35,36,37,38,39,310}{,-smtp}
recreate = True
isolated_build = True

Expand All @@ -16,7 +16,7 @@ deps =
six
requests
extras =
smtp
smtp: smtp
commands =
pytest -v \
--junitxml=junit-{envname}.xml \
Expand Down

0 comments on commit 4c61c91

Please sign in to comment.