File tree Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Expand file tree Collapse file tree 1 file changed +61
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,67 @@ jobs:
125125 fail_ci_if_error : false
126126 token : ${{ secrets.CODECOV_TOKEN}}
127127
128+ build_2 :
129+ name : xarray nightly tests - linux
130+ runs-on : ubuntu-latest
131+ needs : [ lint ]
132+ continue-on-error : true
133+ defaults :
134+ run :
135+ shell : bash -l {0}
136+ strategy :
137+ fail-fast : false
138+ matrix :
139+ python-version : [ "3.12" ]
140+ numpy-version : [ "2" ]
141+ steps :
142+ - uses : actions/checkout@v4
143+ with :
144+ ref : xarray-nightly
145+ fetch-depth : 0
146+ - name : Install micromamba environment
147+ uses : mamba-org/setup-micromamba@v1
148+ with :
149+ environment-name : xradar-unit-tests
150+ cache-environment : true
151+ cache-environment-key : " ${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
152+ create-args : >-
153+ python=${{matrix.python-version}}
154+ cmweather
155+ dask
156+ fsspec
157+ h5netcdf
158+ h5py
159+ lat_lon_parser
160+ netCDF4
161+ open-radar-data>=0.3.0
162+ packaging
163+ pandas
164+ pip
165+ pyproj
166+ pytest
167+ pytest-doctestplus
168+ pytest-sugar
169+ pytest-xdist
170+ scipy
171+ setuptools
172+ wheel
173+ xmltodict
174+ numpy=${{matrix.numpy-version}}
175+ conda
176+ - name : Install xradar
177+ run : |
178+ python -m pip install --no-deps .
179+ - name : Install xarray
180+ run : |
181+ python -m pip install --no-deps --ignore-installed --no-cache-dir -vvv \
182+ git+https://github.com/pydata/xarray.git@main
183+ - name : Version Info
184+ run : |
185+ python -c "import xradar; print(xradar.version.version)"
186+ - name : Test with pytest
187+ run : |
188+ pytest -n auto --dist loadfile --verbose --durations=15 --pyargs tests
128189
129190 test_build_distribution_testpypi :
130191 name : test build distribution for testpypi
You can’t perform that action at this time.
0 commit comments