Disable GoogleTest and Doctest frameworks on CI/Github Actions

This commit is contained in:
Ivan Kravets
2022-07-04 18:04:45 +03:00
parent 523b6dfa98
commit 3cf62f8fa6

View File

@ -471,6 +471,10 @@ void unittest_uart_end(){}
validate_cliresult(result)
@pytest.mark.skipif(
sys.platform == "win32" and os.environ.get("GITHUB_ACTIONS") == "true",
reason="skip Github Actions on Windows (MinGW issue)",
)
def test_doctest_framework(clirunner, tmp_path: Path):
project_dir = tmp_path / "project"
project_dir.mkdir()
@ -597,6 +601,10 @@ int main(int argc, char **argv)
assert json_report["failure_nums"] == 1
@pytest.mark.skipif(
sys.platform == "win32" and os.environ.get("GITHUB_ACTIONS") == "true",
reason="skip Github Actions on Windows (MinGW issue)",
)
def test_googletest_framework(clirunner, tmp_path: Path):
project_dir = tmp_path / "project"
shutil.copytree(