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
|
||||
test_dir = request.fspath.dirname
|
||||
cmd = """
|
||||
uv venv && \\
|
||||
. .venv/bin/activate && \\
|
||||
( cd .. ; uv venv ) && \\
|
||||
. ../.venv/bin/activate && \\
|
||||
uv pip install -r requirements.txt && \\
|
||||
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"]:
|
||||
|
Loading…
x
Reference in New Issue
Block a user