Skip to content

Commit 4992fa2

Browse files
authored
Merge pull request #2190 from webknjaz/maintenance/tox-4.12-parallel-no-spinner-workaround
Add a `--parallel-live` to tox invocations in CI
2 parents 8d5e46e + 35d7e70 commit 4992fa2

1 file changed

Lines changed: 26 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,21 @@ jobs:
108108
- name: Install test dependencies
109109
run: python -m pip install -U tox virtualenv
110110
- name: Prepare test environment
111+
# NOTE: `--parallel-live` is a workaround for the regression in
112+
# NOTE: the upstream tox project that made the
113+
# NOTE: `TOX_PARALLEL_NO_SPINNER=1` env var auto-enable parallelism
114+
# NOTE: and disable output from the tox environments.
115+
#
116+
# Ref: https://github.com/tox-dev/tox/issues/3193
111117
run: tox -vv --notest -p auto --parallel-live
112118
- name: Test pip ${{ matrix.pip-version }}
113-
run: tox --skip-pkg-install
119+
# NOTE: `--parallel-live` is a workaround for the regression in
120+
# NOTE: the upstream tox project that made the
121+
# NOTE: `TOX_PARALLEL_NO_SPINNER=1` env var auto-enable parallelism
122+
# NOTE: and disable output from the tox environments.
123+
#
124+
# Ref: https://github.com/tox-dev/tox/issues/3193
125+
run: tox --skip-pkg-install --parallel-live
114126
- name: Upload coverage to Codecov
115127
if: >-
116128
!inputs.cpython-pip-version
@@ -170,9 +182,21 @@ jobs:
170182
- name: Install tox
171183
run: pip install tox
172184
- name: Prepare test environment
185+
# NOTE: `--parallel-live` is a workaround for the regression in
186+
# NOTE: the upstream tox project that made the
187+
# NOTE: `TOX_PARALLEL_NO_SPINNER=1` env var auto-enable parallelism
188+
# NOTE: and disable output from the tox environments.
189+
#
190+
# Ref: https://github.com/tox-dev/tox/issues/3193
173191
run: tox --notest -p auto --parallel-live
174192
- name: Test pip ${{ matrix.pip-version }}
175-
run: tox
193+
# NOTE: `--parallel-live` is a workaround for the regression in
194+
# NOTE: the upstream tox project that made the
195+
# NOTE: `TOX_PARALLEL_NO_SPINNER=1` env var auto-enable parallelism
196+
# NOTE: and disable output from the tox environments.
197+
#
198+
# Ref: https://github.com/tox-dev/tox/issues/3193
199+
run: tox --skip-pkg-install --parallel-live
176200

177201
check: # This job does nothing and is only used for the branch protection
178202
if: always()

0 commit comments

Comments
 (0)