Skip to content

Commit e39eb28

Browse files
authored
Merge pull request #125 from asottile/tox4
tox 4.x compatibility
2 parents 9cb0304 + 4fc6a37 commit e39eb28

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ jobs:
77
pr:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v1
11-
- uses: actions/setup-python@v1
12-
- run: pip install 'tox<4'
10+
- uses: actions/checkout@v3
11+
- uses: actions/setup-python@v4
12+
with:
13+
python-version: 3.x
14+
- run: pip install tox
1315
- run: tox -e push
1416
env:
1517
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

tox.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ deps = pre-commit
1919
commands = pre-commit run --all-files --show-diff-on-failure
2020

2121
[testenv:push]
22-
passenv = GITHUB_* GH_TOKEN
22+
passenv =
23+
GITHUB_*
24+
GH_TOKEN
2325
commands =
2426
{[testenv]commands}
25-
{toxinidir}/testing/make-index
27+
python {toxinidir}/testing/make-index
2628
markdown-to-presentation push index.html demo
2729

2830
[pep8]

0 commit comments

Comments
 (0)