mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 18:44:27 +02:00
Disable GoogleTest and Doctest frameworks on CI/Github Actions
This commit is contained in:
@@ -471,6 +471,10 @@ void unittest_uart_end(){}
|
|||||||
validate_cliresult(result)
|
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):
|
def test_doctest_framework(clirunner, tmp_path: Path):
|
||||||
project_dir = tmp_path / "project"
|
project_dir = tmp_path / "project"
|
||||||
project_dir.mkdir()
|
project_dir.mkdir()
|
||||||
@@ -597,6 +601,10 @@ int main(int argc, char **argv)
|
|||||||
assert json_report["failure_nums"] == 1
|
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):
|
def test_googletest_framework(clirunner, tmp_path: Path):
|
||||||
project_dir = tmp_path / "project"
|
project_dir = tmp_path / "project"
|
||||||
shutil.copytree(
|
shutil.copytree(
|
||||||
|
Reference in New Issue
Block a user