File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 branches :
1111 - main
1212 - update-pixi
13+ - add-minimal-installation
1314 schedule :
1415 - cron : " 0 0 * * *"
1516
@@ -32,13 +33,14 @@ jobs:
3233 - test-py312
3334 - test-py313
3435 - test-py314
36+ - esmvaltool-minimal-dev
3537 name : ${{ matrix.os }} ${{ matrix.environment }}
3638 steps :
3739 - uses : actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
3840 with :
3941 fetch-depth : 0
4042 persist-credentials : false
41- - uses : prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6
43+ - uses : prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6
4244 with :
4345 frozen : true
4446 environments : ${{ matrix.environment }}
4749 - name : Check code quality
4850 run : pre-commit run -a
4951 - name : Run tests
50- run : pytest -n 2 -m "not installation"
52+ if : matrix.environment != 'esmvaltool-minimal-dev'
53+ run : pytest -n 2
54+ - name : Run tests
55+ if : matrix.environment == 'esmvaltool-minimal-dev'
56+ run : >-
57+ pytest
58+ -n 2
59+ --ignore=tests/sample_data/
60+ --ignore=tests/unit/cmorizers/test_cmorization_interface.py
5161 - name : Upload artifacts
5262 if : ${{ always() }} # upload artifacts even if fail
5363 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ env = { MPLBACKEND = "Agg" }
132132log_level = " WARNING"
133133minversion = " 6"
134134markers = [
135- " installation: Test requires installation of dependencies" ,
136135 " diagnostic_image_output: test produces images that will be compared with imagehash" ,
137136]
138137testpaths = [" tests" ]
Original file line number Diff line number Diff line change @@ -71,7 +71,6 @@ def check(result_file):
7171]
7272
7373
74- @pytest .mark .installation
7574@pytest .mark .parametrize ("script_file" , SCRIPTS )
7675def test_diagnostic_run (tmp_path , script_file ):
7776 local_script_file = Path (__file__ ).parent / script_file
You can’t perform that action at this time.
0 commit comments