Skip to content

Commit ad9da08

Browse files
do not fail-fast in CI
1 parent 8a55556 commit ad9da08

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/cicd.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ jobs:
6161
needs: [Pre-Commit]
6262
uses: ./.github/workflows/_test.yaml
6363
strategy:
64+
# FIXME: fail-fast as soon as the tests are not flaky anymore
65+
fail-fast: false
6466
matrix:
6567
os: [ubuntu-latest, windows-latest]
6668
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

tests/helper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
from __future__ import annotations
1010

11+
from functools import cache
1112
from typing import List
1213

1314
import numpy as np
@@ -47,6 +48,7 @@ def is_3d_rmse_better(result, obsp, simp) -> bool:
4748
return (rmse_values_new_ds < rmse_values_old_ds).all()
4849

4950

51+
@cache
5052
def get_datasets(kind: str) -> tuple[xr.Dataset, xr.Dataset, xr.Dataset, xr.Dataset]:
5153
historical_time = xr.cftime_range(
5254
"1971-01-01",

0 commit comments

Comments
 (0)