Skip to content

Commit f238e58

Browse files
committed
🐛🔧 Use tox3 for tests @ GHA under Windows
Tox4 does not work correctly in our CI under Windows. Limiting the version is a workaround to be used until it's fixed. Ref: tox-dev/tox#2692
1 parent cdd1c6f commit f238e58

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci-cd.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,11 +609,14 @@ jobs:
609609
}}-
610610
${{ runner.os }}-pip-
611611
- name: Install tox
612+
# NOTE: Tox4 does not work correctly in our CI under Windows. Limiting the
613+
# NOTE: version is a workaround to be used until it's fixed.
614+
# Ref: https://github.com/tox-dev/tox/issues/2692
612615
run: >-
613616
python -m
614617
pip install
615618
--user
616-
tox
619+
"tox${{ runner.os == 'Windows' && ' < 4' || '' }}"
617620
618621
- name: Download all the dists
619622
uses: actions/download-artifact@v3

0 commit comments

Comments
 (0)