File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change 1919 fail-fast : true
2020 matrix :
2121 include :
22- - {name: '3.9', python: '3.9', os: ubuntu-20.04, tox: py39-pre-commit }
22+ - {name: '3.9', python: '3.9', os: ubuntu-20.04, tox: py39}
2323 - {name: '3.8', python: '3.8', os: ubuntu-18.04, tox: py38}
2424 - {name: '3.7', python: '3.7', os: ubuntu-18.04, tox: py37}
2525 - {name: '3.6', python: '3.6', os: ubuntu-16.04, tox: py36}
4545 key : pip-${{ runner.os }}-${{ matrix.python }}-${{ hashFiles('setup.py') }}
4646 restore-keys : pip-${{ runner.os }}-${{ matrix.python }}-
4747
48- - name : Cache pre-commit
49- uses : actions/cache@v2
50- with :
51- path : ~/.cache/pre-commit
52- key : pre-commit-${{ env.PY }}-${{ hashFiles('.pre-commit-config.yaml') }}
53- restore-keys : pre-commit-${{ runner.os }}-
54- if : matrix.tox == 'py39-pre-commit'
55-
5648 - name : Set Python version
5749 # See https://pre-commit.com/#github-actions-example
5850 run : echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
7062 run : tox -e ${{ matrix.tox }}
7163 env :
7264 PY_COLORS : 1
73- PRE_COMMIT_COLOR : always
65+ TOX_TESTENV_PASSENV : PY_COLORS
You can’t perform that action at this time.
0 commit comments