File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,45 @@ defaults:
99 shell : bash -el {0}
1010
1111jobs :
12+ integration-test :
13+ name : ' Core / Integration Test Pipeline'
14+ runs-on : ubuntu-latest
15+ timeout-minutes : 20
16+
17+ steps :
18+ -
19+ name : Checkout Repo
20+ uses : actions/checkout@v4
21+ -
22+ # Store the current date to use it as cache key for the environment
23+ name : Get current date
24+ id : date
25+ run : echo "date=$(date +%Y-%m-%d)" >> "${GITHUB_OUTPUT}"
26+ -
27+ name : Install make
28+ uses : awalsh128/cache-apt-pkgs-action@v1
29+ with :
30+ packages : make
31+ -
32+ name : Install uv
33+ uses : astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
34+ with :
35+ python-version : " 3.12"
36+ -
37+ name : Install dependencies
38+ run : |
39+ uv sync --locked --dev
40+ -
41+ name : Load data
42+ run : |
43+ uvx zenodo_get -v 3 10.5281/zenodo.20592941
44+ unzip climada.zip
45+ -
46+ name : Run Integration Tests
47+ run : |
48+ uv run -- python -c "from climada.util.constants import SYSTEM_DIR; print(SYSTEM_DIR)"
49+ make integ_test
50+
1251 build-and-test :
1352 name : ' Core / Unit Test Pipeline'
1453 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments