From 5b00f6fb95ee1beea8cce3390535013ac2155485 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sat, 7 May 2022 17:55:32 +0300 Subject: [PATCH] Skip "test_doctest_framework" from Github Actions / Windows --- tests/commands/test_test.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/commands/test_test.py b/tests/commands/test_test.py index 362ae5a3..8d7aee75 100644 --- a/tests/commands/test_test.py +++ b/tests/commands/test_test.py @@ -436,6 +436,10 @@ void unittest_uart_end(){} validate_cliresult(result) +@pytest.mark.skipif( + sys.platform == "win32" and os.environ.get("GITHUB_ACTIONS"), + reason="skip Github Actions on Windows (MinGW issue)", +) def test_doctest_framework(clirunner, tmp_path: Path): project_dir = tmp_path / "project" project_dir.mkdir()