mirror of
https://github.com/tcsenpai/Zundler.git
synced 2025-06-06 11:35:40 +00:00
Use a common venv for tests
This commit is contained in:
parent
44bfdade54
commit
0e12a34121
@ -66,11 +66,11 @@ def run_make_commands(request):
|
|||||||
# Get the directory of the current test file
|
# Get the directory of the current test file
|
||||||
test_dir = request.fspath.dirname
|
test_dir = request.fspath.dirname
|
||||||
cmd = """
|
cmd = """
|
||||||
uv venv && \\
|
( cd .. ; uv venv ) && \\
|
||||||
. .venv/bin/activate && \\
|
. ../.venv/bin/activate && \\
|
||||||
uv pip install -r requirements.txt && \\
|
uv pip install -r requirements.txt && \\
|
||||||
rm -rf _build && \\
|
rm -rf _build && \\
|
||||||
.venv/bin/sphinx-build -M zundler . _build
|
../.venv/bin/sphinx-build -M zundler . _build
|
||||||
"""
|
"""
|
||||||
|
|
||||||
for d in ["copy-button", "mermaid", "multi-page", "dark-mode"]:
|
for d in ["copy-button", "mermaid", "multi-page", "dark-mode"]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user