Skip to content

tests: set three hour time limit for workflows#1920

Open
gampnico wants to merge 5 commits into
OGGM:masterfrom
gampnico:ON-62-prevent-hangs-on-github-workflows
Open

tests: set three hour time limit for workflows#1920
gampnico wants to merge 5 commits into
OGGM:masterfrom
gampnico:ON-62-prevent-hangs-on-github-workflows

Conversation

@gampnico

@gampnico gampnico commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Refs: ON-62

Refs: #1921

  • Tests added/passed
  • Fully documented
  • Entry in whats-new.rst

@gampnico

gampnico commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

Going through the workflow logs, it's rare for a workflow to exceed a 90 minute runtime. I've doubled this to be on the safe side.

@fmaussion

Copy link
Copy Markdown
Member

mh, our tests currently take 30-40 minutes. That's the "models" test, which probably needs a rewrite as it is 3 times slower than the other tests. I don't think that we should ever exceed 90 mins and if we do, this is a bug that need addressing?

gampnico added 3 commits June 9, 2026 14:45
Reduces timeout to 60 minutes. If we can speed up test_models,
this could be reduced further.
…ub.com:gampnico/oggm into ON-62-prevent-hangs-on-github-workflows
@gampnico

Copy link
Copy Markdown
Contributor Author

Timer now runs for each test env rather than the total job with installs etc. I've set it to 60 minutes. Do you want me to take a look at optimising test_models? Or @pat-schmitt are you still working on this?

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

Successfully merging this pull request may close these issues.

2 participants