File tree Expand file tree Collapse file tree 3 files changed +3
-21
lines changed Expand file tree Collapse file tree 3 files changed +3
-21
lines changed Original file line number Diff line number Diff line change @@ -33,16 +33,10 @@ jobs:
3333 uses : actions/setup-python@v2 # https://github.com/actions/setup-python
3434 with :
3535 python-version : ${{ matrix.python-version }}
36- - name : Cache dependencies
37- id : cache-deps
38- uses : actions/cache@v2 # https://github.com/actions/cache
39- with :
40- path : ~/.cache/pip
41- key : ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}
4236 - name : Install python prerequisites
4337 # Only install dependencies when there is a cache miss
4438 if : steps.cache-deps.outputs.cache-hit != 'true'
45- run : pip install -U --user pip setuptools setuptools-scm flake8 nox
39+ run : pip install -U --user pip setuptools setuptools-scm nox
4640 - name : Run tests and post coverage results
4741 env :
4842 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 3333 uses : actions/setup-python@v2 # https://github.com/actions/setup-python
3434 with :
3535 python-version : ${{ matrix.python-version }}
36- - name : Cache dependencies
37- id : cache-deps
38- uses : actions/cache@v2 # https://github.com/actions/cache
39- with :
40- path : ~/.cache/pip
41- key : ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}
4236 - name : Install python prerequisites
4337 # Only install dependencies when there is a cache miss
4438 if : steps.cache-deps.outputs.cache-hit != 'true'
45- run : pip install -U --user pip setuptools setuptools-scm flake8 nox
39+ run : pip install -U --user pip setuptools setuptools-scm nox
4640 - name : Sphinx documentation build
4741 run : python -m nox --non-interactive --session docs
Original file line number Diff line number Diff line change 3333 uses : actions/setup-python@v2 # https://github.com/actions/setup-python
3434 with :
3535 python-version : ${{ matrix.python-version }}
36- - name : Cache dependencies
37- id : cache-deps
38- uses : actions/cache@v2 # https://github.com/actions/cache
39- with :
40- path : ~/.cache/pip
41- key : ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}
4236 - name : Install python prerequisites
4337 # Only install dependencies when there is a cache miss
4438 if : steps.cache-deps.outputs.cache-hit != 'true'
45- run : pip install -U --user pip setuptools setuptools-scm flake8 nox
39+ run : pip install -U --user pip setuptools setuptools-scm flake8
4640 - name : Lint
4741 run : python -m flake8 . --count --ignore=E252,W503 --max-complexity=26 --max-line-length=127 --show-source --statistics ;
You can’t perform that action at this time.
0 commit comments