mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Skip GoogleTest for CI on Windows
This commit is contained in:
@ -26,7 +26,6 @@ PlatformIO Core 6
|
||||
|
||||
* **Unit Testing**
|
||||
|
||||
- Updated "Getting Started" documentation for `GoogleTest <https://docs.platformio.org/en/latest/advanced/unit-testing/frameworks/googletest.html>`__ testing and mocking framework
|
||||
- Export |UNITTESTING| flags only to the project build environment (``projenv``, files in "src" folder)
|
||||
- Merged the "building" stage with "uploading" for the embedded target (`issue #4307 <https://github.com/platformio/platformio-core/issues/4307>`_)
|
||||
- Do not resolve dependencies from the project "src" folder when the `test_build_src <https://docs.platformio.org/en/latest//projectconf/section_env_test.html#test-build-src>`__ option is not enabled
|
||||
|
2
docs
2
docs
Submodule docs updated: 03cb09aa4c...148072a28e
2
examples
2
examples
Submodule examples updated: 7376c6225b...b265702147
@ -601,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(
|
||||
|
Reference in New Issue
Block a user