Skip to content

Commit a8ba246

Browse files
committed
Speed up integration tests
Use the `ci_checks_max` session to pack several sessions into one only virtual environment. This cuts the integration tests time by half. Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 19d1ed0 commit a8ba246

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/test_cookiecutter_generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_generation(tmp_path: pathlib.Path, repo_type: str) -> None:
3636
repo_config_path=cwd, repo_type=repo_type, repo_path=repo_path
3737
)
3838

39-
cmd = ". .venv/bin/activate; pip install .[dev-noxfile]; nox"
39+
cmd = ". .venv/bin/activate; pip install .[dev-noxfile]; nox -e ci_checks_max pytest_min"
4040
print()
4141
print(f"Running in shell [{cwd}]: {cmd}")
4242
subprocess.run(cmd, shell=True, cwd=repo_path, check=True)

0 commit comments

Comments
 (0)