mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Run linters/docs on Windows and macOS
This ensures that contributors on any of the major platforms can run our linting and doc building checks without any changes.
This commit is contained in:
parent
7420629800
commit
4d1fd08d45
13
.github/workflows/python-linters.yml
vendored
13
.github/workflows/python-linters.yml
vendored
|
@ -17,6 +17,8 @@ jobs:
|
|||
matrix:
|
||||
os:
|
||||
- ubuntu-18.04
|
||||
- windows-latest
|
||||
- macos-latest
|
||||
env:
|
||||
- TOXENV: docs
|
||||
- TOXENV: lint
|
||||
|
@ -33,11 +35,14 @@ jobs:
|
|||
path: ~/.cache/pre-commit
|
||||
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
|
||||
- name: Pre-configure global Git settings
|
||||
run: >-
|
||||
tools/travis/setup.sh
|
||||
run: |
|
||||
git config --global user.email "pypa-dev@googlegroups.com"
|
||||
git config --global user.name "pip"
|
||||
- name: Update setuptools and tox dependencies
|
||||
run: >-
|
||||
tools/travis/install.sh
|
||||
run: |
|
||||
python -m pip install --upgrade setuptools
|
||||
python -m pip install --upgrade tox tox-venv
|
||||
python -m pip freeze --all
|
||||
- name: 'Initialize tox envs: ${{ matrix.env.TOXENV }}'
|
||||
run: >-
|
||||
python -m tox --notest --skip-missing-interpreters false
|
||||
|
|
Loading…
Reference in a new issue