VegeWaterDynamics / motrainer

Distributed Measurement Operator Trainer for Data Assimilation Applications
https://vegewaterdynamics.github.io/motrainer/
Apache License 2.0
2 stars 0 forks source link

MacOS Github Action takes too long to run #124

Open rogerkuou opened 4 months ago

rogerkuou commented 4 months ago

MacOS Github Action does not finish in hours. It is stuck with the unit test. This does not happen for Windows and Ubuntu. See this run: https://github.com/VegeWaterDynamics/motrainer/actions/runs/9095957227

Temporally disabled MacOS test because of this.

Some observations: Tests without need to import pandas works. See this run: https://github.com/VegeWaterDynamics/motrainer/actions/runs/9111642386

If exclude test_util.py, others still does not work. See this run: https://github.com/VegeWaterDynamics/motrainer/actions/runs/9112310974

Constraining pandas version or not does not matter. See the following two runs:

SarahAlidoost commented 3 months ago

@rogerkuou Looking at the history of changes, it seems that the tests have been passed on macos before. Unfortunately, the logs of previous actions are not available anymore. Otherwise, we could compare the list of dependencies installed by GA before and after.

Also some dependencies might behave differently on macos with arch arm64 and x86. You can also do a test with macos-12 that works on arch x86. Here is an example workflow. Note the command arch -x86_64 before python commands.