@@ -9,7 +9,7 @@ defaults:
99 shell : bash -el {0}
1010
1111env :
12- CLIMADA_DATA_DOI : 10.5281/zenodo.20592941
12+ CLIMADA_DATA_DOI : 10.5281/zenodo.20595090
1313
1414jobs :
1515 integration-test :
2121 -
2222 name : Checkout Repo
2323 uses : actions/checkout@v4
24+ -
25+ name : Write climada.conf system data
26+ uses : amochkin/action-json@v1
27+ with :
28+ mode : write
29+ file : climada.conf
30+ property : local_data.system
31+ value : ${{ github.workspace }}/climada/data/system
32+ -
33+ name : Write climada.conf demo data
34+ uses : amochkin/action-json@v1
35+ with :
36+ mode : write
37+ file : climada.conf
38+ property : local_data.demo
39+ value : ${{ github.workspace }}/climada/data/demo
40+ -
41+ run : |
42+ cat climada.conf
2443 -
2544 name : Install make
2645 uses : awalsh128/cache-apt-pkgs-action@v1
3150 uses : astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
3251 with :
3352 python-version : " 3.12"
53+ cache-suffix : integrationtest
3454 -
3555 name : Install dependencies
3656 run : |
4464 -
4565 name : Download and unzip data
4666 run : |
47- uvx zenodo_get -v 3 10.5281/zenodo.20592941
48- unzip -q climada.zip -d ${{ github.workspace }}
49- -
50- name : Write climada.conf system data
51- uses : amochkin/action-json@v1
52- with :
53- mode : write
54- file : climada.conf
55- property : local_data.system
56- value : ${{ github.workspace }}/climada/data/system
57- -
58- name : Write climada.conf demo data
59- uses : amochkin/action-json@v1
60- with :
61- mode : write
62- file : climada.conf
63- property : local_data.demo
64- value : ${{ github.workspace }}/climada/data/demo
67+ uvx zenodo_get ${{ env.CLIMADA_DATA_DOI }}
68+ unzip climada.zip -d ${{ github.workspace }}
6569 -
6670 name : Run Integration Tests
6771 run : |
@@ -103,6 +107,7 @@ jobs:
103107 uses : astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
104108 with :
105109 python-version : ${{ matrix.python-version }}
110+ cache-suffix : unittest
106111 -
107112 name : Install dependencies
108113 run : |
0 commit comments