Skip to content

Commit

Permalink
infra: add opts for tox builds ran in parallel (#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
math411 committed May 6, 2024
1 parent 84c3bb7 commit 2730aa1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
pip install tox
- name: Run code format checks
run: |
tox -e linters_check
tox -e linters_check -p auto
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,12 @@ To run linters and doc generators and unit tests:
tox
```

or if your machine can handle multithreaded workloads, run them in parallel with:

```bash
tox -p auto
```

### Integration Tests

First, configure a profile to use your account to interact with AWS. To learn more, see [Configure AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html).
Expand Down
3 changes: 1 addition & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[tox]
envlist = clean,linters,docs,unit-tests


[testenv]
parallel_show_output = true
package = wheel
Expand Down Expand Up @@ -111,7 +110,7 @@ deps =
sphinx-rtd-theme
sphinxcontrib-apidoc
commands =
sphinx-build -E -T -b html doc build/documentation/html
sphinx-build -E -T -b html doc build/documentation/html -j auto

[testenv:serve-docs]
basepython = python3
Expand Down

0 comments on commit 2730aa1

Please sign in to comment.