Skip to content

Commit cf01db5

Browse files
committed
Use Python 3.9 in README
1 parent 7ad1835 commit cf01db5

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

README.md

+10-6
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,28 @@ When running tox on GitHub Actions, tox-gh-actions
2020

2121
## Examples
2222
### Basic Example
23-
The following configuration will create 4 jobs when running the workflow on GitHub Actions.
23+
The following configuration will create 5 jobs when running the workflow on GitHub Actions.
2424
- On Python 2.7 job, tox runs `py27` environment
2525
- On Python 3.6 job, tox runs `py36` environment
2626
- On Python 3.7 job, tox runs `py37` environment
2727
- On Python 3.8 job, tox runs `py38` and `mypy` environments
28+
- On Python 3.9 job, tox runs `py39` environment
2829

2930
#### tox-gh-actions Configuration
3031
Add `[gh-actions]` section to the same file as tox's cofiguration.
3132

3233
If you're using `tox.ini`:
3334
```ini
3435
[tox]
35-
envlist = py27, py36, py37, py38, mypy
36+
envlist = py27, py36, py37, py38, py39, mypy
3637

3738
[gh-actions]
3839
python =
3940
2.7: py27
4041
3.6: py36
4142
3.7: py37
4243
3.8: py38, mypy
44+
3.9: py39
4345

4446
[testenv]
4547
...
@@ -48,14 +50,15 @@ python =
4850
If you're using `setup.cfg`:
4951
```ini
5052
[tox:tox]
51-
envlist = py27, py36, py37, py38, mypy
53+
envlist = py27, py36, py37, py38, py39, mypy
5254

5355
[gh-actions]
5456
python =
5557
2.7: py27
5658
3.6: py36
5759
3.7: py37
5860
3.8: py38, mypy
61+
3.9: py39
5962

6063
[testenv]
6164
...
@@ -66,14 +69,15 @@ If you're using `pyproject.toml`:
6669
[tool.tox]
6770
legacy_tox_ini = """
6871
[tox]
69-
envlist = py27, py36, py37, py38, mypy
72+
envlist = py27, py36, py37, py38, py39, mypy
7073
7174
[gh-actions]
7275
python =
7376
2.7: py27
7477
3.6: py36
7578
3.7: py37
7679
3.8: py38, mypy
80+
3.9: py39
7781
7882
[testenv]
7983
"""
@@ -90,9 +94,9 @@ jobs:
9094
build:
9195
runs-on: ubuntu-latest
9296
strategy:
93-
max-parallel: 4
97+
max-parallel: 5
9498
matrix:
95-
python-version: [2.7, 3.6, 3.7, 3.8]
99+
python-version: [2.7, 3.6, 3.7, 3.8, 3.9]
96100

97101
steps:
98102
- uses: actions/checkout@v1

0 commit comments

Comments
 (0)