Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS Github Action takes too long to run #124

Open
rogerkuou opened this issue May 16, 2024 · 1 comment
Open

MacOS Github Action takes too long to run #124

rogerkuou opened this issue May 16, 2024 · 1 comment

Comments

@rogerkuou
Copy link
Contributor

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
Copy link
Member

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants