13
13
14
14
jobs :
15
15
tests-slow :
16
+ if : github.repository == 'Climate-REF/climate-ref'
16
17
env :
17
18
REF_TEST_OUTPUT : " test-outputs"
18
- REF_DATASET_CACHE_DIR : " data"
19
19
PYTEST_ADDOPTS : " --slow"
20
20
strategy :
21
21
fail-fast : false
22
22
matrix :
23
- os : [ "ubuntu-latest" ]
24
- python-version : [ "3.11", "3.12", "3.13" ]
25
- runs-on : " ${{ matrix.os }}"
23
+ python-version : [ "3.11", "3.13" ]
24
+ runs-on : " self-hosted"
26
25
defaults :
27
26
run :
28
27
shell : bash
@@ -32,21 +31,15 @@ jobs:
32
31
- uses : ./.github/actions/setup
33
32
with :
34
33
python-version : ${{ matrix.python-version }}
35
- - name : Cache downloaded data
36
- uses : actions/cache@v4
37
- with :
38
- path : |
39
- ${{ env.REF_DATASET_CACHE_DIR }}
40
- key : reference-datasets
41
34
- name : Run tests
42
35
run : |
43
36
make virtual-environment
44
37
make fetch-test-data
45
- uv run ref datasets fetch-data --registry ilamb
46
- uv run ref datasets fetch-data --registry iomb
47
- uv run ref datasets fetch-data --registry esmvaltool
38
+ uv run ref datasets fetch-data --registry ilamb --symlink
39
+ uv run ref datasets fetch-data --registry iomb --symlink
40
+ uv run ref datasets fetch-data --registry esmvaltool --symlink
48
41
uv run ref providers create-env
49
- make test
42
+ uv run pytest packages tests --slow --no-docker -r a -v
50
43
# Upload the scratch and executions directories as artifacts
51
44
- name : Upload scratch artifacts
52
45
uses : actions/upload-artifact@v4
0 commit comments