Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tox 4 like we mean to #138

Merged
merged 1 commit into from
Dec 8, 2022
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
Use tox 'run' command, now that tox 4 is released
  • Loading branch information
blairconrad committed Dec 8, 2022
commit 1e46cc9a9a10cb94dd6119153925d59e66954b76
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install --upgrade tox
- name: Test with tox
run: tox -e py -- --color=yes
run: tox run --colored=yes -e py -- --color=yes

package:

Expand Down
2 changes: 1 addition & 1 deletion how_to_build.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Ensure that the following are installed:
From a command prompt in the root of the repo, run

```powershell
tox
tox run
```

This will build a source distribution and run tests in all supported environments. This replicates the
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ commands =
black --check --diff --quiet .
pylama src tests
mypy src tests
pytest {posargs}
pytest {tty:--color=yes} {posargs}