PlatformIO Community

Unit testing on local/native with dependency on mbed.h

So I can run unit testing on local machine using

platform = native
test_ignore = test_device

Which means that I cannot use #include <mbed.h> in any of the libraries that are being tested, otherwise `fatal error: mbed.h: No such file or directory’.

And I cannot use framework = mbed on my local configuration because there are no boards supported by PIO on this platform.

So how can I include the external library mbed on my native platform which allows me to compile and run tests ?

Obviously the goal is not to test the mbed library on my local PC, but I do need to test libraries which are designed to run with mbed.