File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,13 +24,11 @@ jobs:
2424 uses : actions/setup-python@v5
2525 with :
2626 python-version : ${{ matrix.python-version }}
27- - name : Install dependencies
28- run : |
29- "${SHELL}" <(curl -L micro.mamba.pm/install.sh)
30- eval "$(micromamba shell hook --shell bash)"
31- micromamba activate base
32- micromamba install pytest-cov pytest-mpl xarray netcdf4 pandas numpy scikit-learn scipy pyproj cartopy metpy ipywidgets python=${{ matrix.python-version }} -c conda-forge
33- python -m pip install .
27+ - name : Install environment with micromamba
28+ - uses : mamba-org/setup-micromamba@v1
29+ with :
30+ environment-file : tests/test-env.yml
31+ create-args : python=${{ matrix.python-version }}
3432 - name : Test with pytest
3533 run : |
3634 eval "$(micromamba shell hook --shell bash)"
Original file line number Diff line number Diff line change 1+ name : pyxlma-tests
2+ channels :
3+ - conda-forge
4+ dependencies :
5+ - pytest-cov
6+ - pytest-mpl
7+ - xarray
8+ - netcdf4
9+ - pandas
10+ - numpy
11+ - scipy
12+ - scikit-learn
13+ - pyproj
14+ - metpy
15+ - ipywidgets
16+ - pip :
17+ - git+https://github.com/deeplycloudy/lmatools
18+ - -e .
You can’t perform that action at this time.
0 commit comments