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:
33
33
uses : actions/setup-python@v2 # https://github.com/actions/setup-python
34
34
with :
35
35
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') }}
42
36
- name : Install python prerequisites
43
37
# Only install dependencies when there is a cache miss
44
38
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
46
40
- name : Run tests and post coverage results
47
41
env :
48
42
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 33
33
uses : actions/setup-python@v2 # https://github.com/actions/setup-python
34
34
with :
35
35
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') }}
42
36
- name : Install python prerequisites
43
37
# Only install dependencies when there is a cache miss
44
38
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
46
40
- name : Sphinx documentation build
47
41
run : python -m nox --non-interactive --session docs
Original file line number Diff line number Diff line change 33
33
uses : actions/setup-python@v2 # https://github.com/actions/setup-python
34
34
with :
35
35
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') }}
42
36
- name : Install python prerequisites
43
37
# Only install dependencies when there is a cache miss
44
38
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
46
40
- name : Lint
47
41
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