Skip to content

Commit 073677a

Browse files
authored
Axe pre-commit, migration to pre-commit.ci [skip ci]
1 parent b4443c6 commit 073677a

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
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}
@@ -45,14 +45,6 @@ jobs:
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
@@ -70,4 +62,4 @@ jobs:
7062
run: tox -e ${{ matrix.tox }}
7163
env:
7264
PY_COLORS: 1
73-
PRE_COMMIT_COLOR: always
65+
TOX_TESTENV_PASSENV: PY_COLORS

0 commit comments

Comments
 (0)