File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 97
97
shell : bash -l {0}
98
98
run : |
99
99
pytest -n 2
100
+
101
+ xarray-groupby :
102
+ name : xarray-groupby
103
+ runs-on : ubuntu-latest
104
+ defaults :
105
+ run :
106
+ shell : bash -l {0}
107
+ steps :
108
+ - uses : actions/checkout@v3
109
+ with :
110
+ repository : ' pydata/xarray'
111
+ fetch-depth : 0 # Fetch all history for all branches and tags.
112
+ - name : Set up conda environment
113
+ uses : mamba-org/provision-with-micromamba@de032af7fb3675649f3d4bbdda85178ba412ee41
114
+ with :
115
+ environment-file : ci/requirements/environment.yml
116
+ environment-name : xarray-tests
117
+ extra-specs : |
118
+ python="3.10"
119
+ - name : Install xarray
120
+ run : |
121
+ python -m pip install --no-deps .
122
+ - name : Install upstream flox
123
+ run : |
124
+ python -m pip install --no-deps \
125
+ git+https://github.com/dcherian/flox.git@${{ github.ref }}
126
+ - name : Version info
127
+ run : |
128
+ conda info -a
129
+ conda list
130
+ python xarray/util/print_versions.py
131
+ - name : import xarray
132
+ run : |
133
+ python -c 'import xarray'
134
+ - name : import flox
135
+ run : |
136
+ python -c 'import flox'
137
+ - name : Run Tests
138
+ if : success()
139
+ id : status
140
+ run : |
141
+ set -euo pipefail
142
+ python -m pytest -n auto xarray/tests/test_groupby.py
You can’t perform that action at this time.
0 commit comments