Skip to content

Commit

Permalink
ci: use installed pip, upgrade to pinned if necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Feb 9, 2020
1 parent 21a8f52 commit ba03d61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ jobs:
key: pre-commit|${{ env.PY_CACHE_KEY }}|${{ hashFiles('.pre-commit-config.yaml') }}

- name: Install tox
run: python -m pip install git+https://github.com/blueyed/tox@master
run: |
python -m pip --version
python -m pip install git+https://github.com/blueyed/tox@master
- name: Setup tox environment
run: python -m tox --notest -v --durations -e ${{ matrix.tox_env }}
Expand Down Expand Up @@ -157,6 +159,7 @@ jobs:
python-version: "3.7"
- name: Install dependencies
run: |
python -m pip --version
python -m pip install wheel setuptools git+https://github.com/blueyed/tox@master
- name: Build package
run: |
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
python: '3.5.1'
dist: trusty
before_install:
- python -m pip install -U pip
- python -m pip install -U pip==19.3.1

before_script:
- |
Expand Down

0 comments on commit ba03d61

Please sign in to comment.