File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 66
77jobs :
88 build :
9+ name : ' Python runtime ${{ matrix.versions.python }}'
910 runs-on : ' ${{ matrix.versions.os || matrix.os }}'
1011 # https://wildwolf.name/github-actions-how-to-avoid-running-the-same-workflow-multiple-times/
1112 if : >
4243 min-deps : ' --force-dep pytest==4.6'
4344 - python : ' pypy-3.9'
4445 min-deps : ' --force-dep pytest==4.6'
45- force-min-deps : [false, true]
46- extra : ['', '-smtp']
4746 fail-fast : false
4847
4948 steps :
5352 with :
5453 python-version : ${{ matrix.versions.python }}
5554 allow-prereleases : true
55+ cache : ' pip'
5656 - name : Install dependencies
5757 run : |
5858 python -m pip install --upgrade pip
5959 pip install tox
6060 - name : Test with tox
61- run : tox -vv -e py${{ matrix.extra }} ${{ matrix.force-min-deps && matrix.versions.min-deps || '' }}
61+ run : tox -vv -e py,py-smtp
62+ - name : Test with tox with forced minimum dependencies
63+ if : matrix.versions.min-deps
64+ run : tox -vv -e py,py-smtp ${{ matrix.versions.min-deps }}
You can’t perform that action at this time.
0 commit comments