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"
|
- "py37-pytestlatest"
|
||||||
- "py38-pytestlatest"
|
- "py38-pytestlatest"
|
||||||
- "py39-pytestlatest"
|
- "py39-pytestlatest"
|
||||||
- "py38-pytestmaster"
|
- "py38-pytestmain"
|
||||||
- "py38-psutil"
|
- "py38-psutil"
|
||||||
- "linting"
|
- "linting"
|
||||||
|
|
||||||
@@ -32,7 +32,7 @@ jobs:
|
|||||||
python: "3.8"
|
python: "3.8"
|
||||||
- tox_env: "py39-pytestlatest"
|
- tox_env: "py39-pytestlatest"
|
||||||
python: "3.9"
|
python: "3.9"
|
||||||
- tox_env: "py38-pytestmaster"
|
- tox_env: "py38-pytestmain"
|
||||||
python: "3.8"
|
python: "3.8"
|
||||||
- tox_env: "py38-psutil"
|
- tox_env: "py38-psutil"
|
||||||
python: "3.8"
|
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=
|
envlist=
|
||||||
linting
|
linting
|
||||||
py{35,36,37,38,39}-pytestlatest
|
py{35,36,37,38,39}-pytestlatest
|
||||||
py38-pytestmaster
|
py38-pytestmain
|
||||||
py38-psutil
|
py38-psutil
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
extras = testing
|
extras = testing
|
||||||
deps =
|
deps =
|
||||||
pytestlatest: pytest
|
pytestlatest: pytest
|
||||||
pytestmaster: git+https://github.com/pytest-dev/pytest.git@main
|
pytestmain: git+https://github.com/pytest-dev/pytest.git
|
||||||
commands=
|
commands=
|
||||||
pytest {posargs}
|
pytest {posargs}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user