File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 5858 pip install 'virtualenv<20.22' 'tox==4.5.1' tox-gh-actions
5959 tox --workdir .github/workflows/.tox --recreate
6060
61- # tox >= 4.0.0 is needed for using optional-dependencies from pyproject.toml, which is
62- # is not available for python <= 3.6, so use the python3.8 of Ubuntu-20.04 to install it:
63- - name : Run tox for 3.6 and 3.8 on ${{ matrix.os }}'s 3.8 to get 'extras' from pyproject.toml)
64- if : ${{ matrix.python-version == 2.7 || matrix.python-version == 3.6 }}
65- run : |
66- set -xv;curl -sSL https://bootstrap.pypa.io/get-pip.py -o get-pip.py
67- python3.8 get-pip.py
68- # The alternative is installing python3-pip but we don't need full pip function for now:
69- # sudo apt-get update && sudo apt-get install -y python3-pip
70- # Let tox-gh-actions get the environment(s) to run tests with from tox.ini:
71- # Use tox==4.5.1: tox>=4 is needed for reading the extras from pyproject.toml
72- # Warning: tox>=4.5.2 depends on virutalenv>=20.23, which breaks Python 2.7:
73- python3.8 -m pip install 'virtualenv<20.22' 'tox==4.5.1' tox-gh-actions
74- tox --workdir .github/workflows/.tox --recreate
75-
7661 - name : Select the coverage file for upload
7762 if : |
7863 ( matrix.python-version == '3.6' || matrix.python-version == '3.11' ) &&
You can’t perform that action at this time.
0 commit comments