Skip to content

Commit

Permalink
Switch from -s to -e flag
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy committed Jan 14, 2025
1 parent 0b41f16 commit 9b694e9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ jobs:
run: python -m pip install tox

- name: Run examples
run: tox -s examples
run: tox -e examples
env:
FORCE_COLOR: 1

- name: Generate HTML
run: tox -s examples -- html
run: tox -e examples -- html
env:
FORCE_COLOR: 1

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ jobs:
run: python -m pip install coverage[toml] tox

- name: Run doctests
run: tox -s doctests-${{ matrix.python-version }} --verbose
run: tox -e doctests-${{ matrix.python-version }} --verbose
env:
FORCE_COLOR: 1

- name: Run tests and generate coverage report
run: tox -s coverage-${{ matrix.python-version }} --verbose
run: tox -e coverage-${{ matrix.python-version }} --verbose
env:
FORCE_COLOR: 1

Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
run: python -m pip install tox

- name: Build SDist and wheel
run: tox -s build --verbose
run: tox -e build --verbose
env:
FORCE_COLOR: 1

Expand All @@ -129,6 +129,6 @@ jobs:
python -m pip install tox
- name: Build docs
run: tox -s docs --verbose
run: tox -e docs --verbose
env:
FORCE_COLOR: 1
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ A particular session (for example `tests`) can be run with `tox` on all
supported Python versions using -

```bash
tox -s tests
tox -e tests
```

Only `tests`, `coverage`, and the `doctests` session run on all supported Python
Expand All @@ -170,13 +170,13 @@ To specify a particular Python version (for example `3.11`), use the following
syntax -

```bash
tox -s tests-3.11
tox -e py311-tests
```

The following command can be used to deploy the docs on `localhost` -

```bash
tox -s docs -- serve
tox -e docs -- serve
```

The `tox` environments created for each type of session on the first run is
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ legacy_tox_ini = """
[tox]
envlist =
lint
{tests,coverage,doctests}-3.{10,11,12,13}
py{310,311,312,313}-{tests,coverage,doctests}
examples
docs
build
Expand Down

0 comments on commit 9b694e9

Please sign in to comment.