Skip to content

Commit 7b84681

Browse files
committed
fix: fix tox platform restrictions
Several environments were restricted to running only on Linux. I'm not really sure why and it prevents me from running tests on macOS. I changed the restriction to run on Linux and Darwin. vendorverify definitely won't run on Windows, so we need to restrict that.
1 parent e95a79d commit 7b84681

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ commands =
9292

9393
[testenv:py310-lint]
9494
changedir = {toxinidir}
95-
platform = linux
95+
platform = linux|darwin
9696
commands =
9797
ruff format --check --target-version=py310 --exclude=_vendor setup.py bleach/ tests/ tests_website/
9898
ruff check --target-version=py310 --exclude=_vendor setup.py bleach/ tests/ tests_website/
@@ -101,15 +101,15 @@ commands =
101101
allowlist_externals = {toxinidir}/scripts/vendor_verify.sh
102102
changedir = {toxinidir}
103103
deps = -rrequirements-dev.txt
104-
platform = linux
104+
platform = linux|darwin
105105
commands =
106106
{toxinidir}/scripts/vendor_verify.sh
107107

108108
[testenv:py310-docs]
109109
changedir = docs
110110
deps = -rrequirements-dev.txt
111+
platform = linux|darwin
111112
extras = css
112-
platform = linux
113113
commands =
114114
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
115115
sphinx-build -b doctest -d {envtmpdir}/doctrees . {envtmpdir}/doctest

0 commit comments

Comments
 (0)