Skip to content

Commit ff5356f

Browse files
committed
Show less noise from pip on CI
1 parent 2171072 commit ff5356f

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/main.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ name: Run all tests
33
on: [push, pull_request]
44

55
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"
79

810
jobs:
911
tests_py27:
@@ -16,7 +18,7 @@ jobs:
1618
- uses: actions/checkout@v3
1719

1820
- name: Install dependencies
19-
run: pip install virtualenv tox
21+
run: $PIP install virtualenv tox
2022

2123
- name: Run the unit tests
2224
run: TOXENV=py27 tox
@@ -34,7 +36,7 @@ jobs:
3436
- uses: actions/checkout@v3
3537

3638
- name: Install dependencies
37-
run: pip install virtualenv tox
39+
run: $PIP install virtualenv tox
3840

3941
- name: Run the unit tests
4042
run: TOXENV=py34 tox
@@ -58,7 +60,7 @@ jobs:
5860
python-version: ${{ matrix.python-version }}
5961

6062
- name: Install dependencies
61-
run: pip install virtualenv tox
63+
run: $PIP install virtualenv tox
6264

6365
- name: Set variable for TOXENV based on Python version
6466
id: toxenv
@@ -80,7 +82,7 @@ jobs:
8082
- uses: actions/checkout@v3
8183

8284
- name: Install dependencies
83-
run: pip install virtualenv tox
85+
run: $PIP install virtualenv tox
8486

8587
- name: Run unit test coverage
8688
run: TOXENV=cover tox
@@ -101,7 +103,7 @@ jobs:
101103
python-version: ${{ matrix.python-version }}
102104

103105
- name: Install dependencies
104-
run: pip install virtualenv tox
106+
run: $PIP install virtualenv tox
105107

106108
- name: Run unit test coverage
107109
run: TOXENV=cover3 tox
@@ -118,7 +120,7 @@ jobs:
118120
python-version: "3.8"
119121

120122
- name: Install dependencies
121-
run: pip install virtualenv tox>=4.0.0
123+
run: $PIP install virtualenv tox>=4.0.0
122124

123125
- name: Build the docs
124126
run: TOXENV=docs tox

0 commit comments

Comments
 (0)