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:
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@@ -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"
|
||||
|
||||
1
changelog/643.trivial.rst
Normal file
1
changelog/643.trivial.rst
Normal file
@@ -0,0 +1 @@
|
||||
Use 'main' to refer to pytest default branch in tox env names.
|
||||
4
tox.ini
4
tox.ini
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user