Use 'main' to refer to pytest default branch in tox env names. (#643)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
Thomas Grainger
2021-03-20 14:43:57 +00:00
committed by GitHub
parent d909dcc61f
commit 1dc019709c
3 changed files with 5 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ jobs:
- "py37-pytestlatest"
- "py38-pytestlatest"
- "py39-pytestlatest"
- "py38-pytestmaster"
- "py38-pytestmain"
- "py38-psutil"
- "linting"
@@ -32,7 +32,7 @@ jobs:
python: "3.8"
- tox_env: "py39-pytestlatest"
python: "3.9"
- tox_env: "py38-pytestmaster"
- tox_env: "py38-pytestmain"
python: "3.8"
- tox_env: "py38-psutil"
python: "3.8"

View File

@@ -0,0 +1 @@
Use 'main' to refer to pytest default branch in tox env names.

View File

@@ -2,14 +2,14 @@
envlist=
linting
py{35,36,37,38,39}-pytestlatest
py38-pytestmaster
py38-pytestmain
py38-psutil
[testenv]
extras = testing
deps =
pytestlatest: pytest
pytestmaster: git+https://github.com/pytest-dev/pytest.git@main
pytestmain: git+https://github.com/pytest-dev/pytest.git
commands=
pytest {posargs}