Skip to content

Commit

Permalink
Show less noise from pip on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaberez committed Nov 18, 2023
1 parent 2171072 commit ff5356f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Run all tests
on: [push, pull_request]

env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
PIP: "env PIP_DISABLE_PIP_VERSION_CHECK=1
PYTHONWARNINGS=ignore:DEPRECATION
pip --no-cache-dir"

jobs:
tests_py27:
Expand All @@ -16,7 +18,7 @@ jobs:
- uses: actions/checkout@v3

- name: Install dependencies
run: pip install virtualenv tox
run: $PIP install virtualenv tox

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

- name: Install dependencies
run: pip install virtualenv tox
run: $PIP install virtualenv tox

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

- name: Install dependencies
run: pip install virtualenv tox
run: $PIP install virtualenv tox

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

- name: Install dependencies
run: pip install virtualenv tox
run: $PIP install virtualenv tox

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

- name: Install dependencies
run: pip install virtualenv tox
run: $PIP install virtualenv tox

- name: Run unit test coverage
run: TOXENV=cover3 tox
Expand All @@ -118,7 +120,7 @@ jobs:
python-version: "3.8"

- name: Install dependencies
run: pip install virtualenv tox>=4.0.0
run: $PIP install virtualenv tox>=4.0.0

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

0 comments on commit ff5356f

Please sign in to comment.