[CI] Figure out why pytest is collecting fewer tests on MacOS platform
hcho3 opened this issue · comments
Philip Hyunsu Cho commented
In https://dev.azure.com/hcho3/treelite/_build/results?buildId=927&view=results, pytest collected 397 tests on Linux but only 85 items on MacOS. So some unit tests are not being run on MacOS. I need to figure out the root cause of the discrepancy.
Philip Hyunsu Cho commented
When XGBoost and LightGBM are installed from pip
, we get a conflict between Homebrew's libomp
and Conda's llvm-openmp
and get an undefined behavior and random crashes. Switching to installing XGBoost and LightGBM from Conda fixes this problem.