@@ -3,7 +3,9 @@ name: Run all tests
3
3
on : [push, pull_request]
4
4
5
5
env :
6
- PIP_DISABLE_PIP_VERSION_CHECK : 1
6
+ PIP : " env PIP_DISABLE_PIP_VERSION_CHECK=1
7
+ PYTHONWARNINGS=ignore:DEPRECATION
8
+ pip --no-cache-dir"
7
9
8
10
jobs :
9
11
tests_py27 :
16
18
- uses : actions/checkout@v3
17
19
18
20
- name : Install dependencies
19
- run : pip install virtualenv tox
21
+ run : $PIP install virtualenv tox
20
22
21
23
- name : Run the unit tests
22
24
run : TOXENV=py27 tox
34
36
- uses : actions/checkout@v3
35
37
36
38
- name : Install dependencies
37
- run : pip install virtualenv tox
39
+ run : $PIP install virtualenv tox
38
40
39
41
- name : Run the unit tests
40
42
run : TOXENV=py34 tox
58
60
python-version : ${{ matrix.python-version }}
59
61
60
62
- name : Install dependencies
61
- run : pip install virtualenv tox
63
+ run : $PIP install virtualenv tox
62
64
63
65
- name : Set variable for TOXENV based on Python version
64
66
id : toxenv
80
82
- uses : actions/checkout@v3
81
83
82
84
- name : Install dependencies
83
- run : pip install virtualenv tox
85
+ run : $PIP install virtualenv tox
84
86
85
87
- name : Run unit test coverage
86
88
run : TOXENV=cover tox
@@ -101,7 +103,7 @@ jobs:
101
103
python-version : ${{ matrix.python-version }}
102
104
103
105
- name : Install dependencies
104
- run : pip install virtualenv tox
106
+ run : $PIP install virtualenv tox
105
107
106
108
- name : Run unit test coverage
107
109
run : TOXENV=cover3 tox
@@ -118,7 +120,7 @@ jobs:
118
120
python-version : " 3.8"
119
121
120
122
- name : Install dependencies
121
- run : pip install virtualenv tox>=4.0.0
123
+ run : $PIP install virtualenv tox>=4.0.0
122
124
123
125
- name : Build the docs
124
126
run : TOXENV=docs tox
0 commit comments