diff --git a/tests/test_cli_install_remove.py b/tests/test_cli_install_remove.py index 253bb5e6c..f3393f1b1 100644 --- a/tests/test_cli_install_remove.py +++ b/tests/test_cli_install_remove.py @@ -91,6 +91,24 @@ def test_single_manager_install_and_remove(self, invoke, manager_id, package_id) it find one providing the package we seek to install, after which the process stop. """ + # XXX Skip this test on GitHub Actions as it's too slow: + # + # ► mpm --mas install 747648890 + # ► stream: + # (...) + # info: Install 747648890 package with mas... + # + # ► Exit code: 1 + # + # Traceback (most recent call last): + # (...) + # File ".../lib/python3.10/subprocess.py", line 1198, in _check_timeout + # raise TimeoutExpired( + # subprocess.TimeoutExpired: Command '('/opt/homebrew/bin/mas', 'install', + # '747648890')' timed out after 500 seconds + if manager_id == "mas": + pytest.skip("mas timeout on GitHub Actions.") + for command in ("install", "remove"): result = invoke(f"--{manager_id}", command, package_id)