Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ jobs:
file_handler.write('TOXENV=' + ("py" if impl == "CPython" else "pypy") + ("{}{}".format(major, minor) if impl == "CPython" else "3") + "\n")
shell: python
- name: Setup test suite
run: tox4 r -vv --notest
run: tox r -vv --notest
- name: Run test suite
run: tox4 r --skip-pkg-install
run: tox r --skip-pkg-install
env:
PYTEST_ADDOPTS: "-vv --durations=20"
CI_RUN: "yes"
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
- name: Install self-tox
run: python -m pip install .
- name: Run check for ${{ matrix.tox_env }}
run: tox4 r -e ${{ matrix.tox_env }}
run: tox r -e ${{ matrix.tox_env }}
env:
UPGRADE_ADVISORY: "yes"

Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ build
dist
*.egg-info
.tox
.tox4
/.*_cache
.dmypy.json
/docs/_draft.rst
Expand Down
1 change: 1 addition & 0 deletions docs/changelog/2344.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use ``tox`` console entry point name instead of ``tox4`` - by :user:`gaborbernat`.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ where = src

[options.entry_points]
console_scripts =
tox4 = tox.run:run
tox = tox.run:run

[options.extras_require]
docs =
Expand Down
2 changes: 1 addition & 1 deletion tests/test_call_modes.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ def test_call_as_module(empty_project: ToxProject) -> None: # noqa: U100


def test_call_as_exe(empty_project: ToxProject) -> None: # noqa: U100
subprocess.check_output([str(Path(sys.executable).parent / "tox4"), "-h"])
subprocess.check_output([str(Path(sys.executable).parent / "tox"), "-h"])