CI unit test gtest fail: undefined reference to `pthread_setspecific'

Please follow the official documentation GoogleTest — PlatformIO latest documentation

  1. Remove lib_deps
  2. Change testing framework
  3. Restructure your “test” folder into the multiple test suites Test Hierarchy — PlatformIO latest documentation