|
24 | 24 | strategy:
|
25 | 25 | fail-fast: false
|
26 | 26 | matrix:
|
27 |
| - os: ["ubuntu-latest", "windows-latest"] |
28 |
| - python-version: ["3.8", "3.10"] |
| 27 | + os: ["windows-latest"] |
| 28 | + python-version: ["3.8"] |
29 | 29 | steps:
|
30 | 30 | - uses: actions/checkout@v3
|
31 | 31 | with:
|
@@ -59,101 +59,3 @@ jobs:
|
59 | 59 | env_vars: RUNNER_OS,PYTHON_VERSION
|
60 | 60 | name: codecov-umbrella
|
61 | 61 | fail_ci_if_error: false
|
62 |
| - |
63 |
| - optional-deps: |
64 |
| - name: ${{ matrix.env }} |
65 |
| - runs-on: ${{ matrix.os }} |
66 |
| - defaults: |
67 |
| - run: |
68 |
| - shell: bash -l {0} |
69 |
| - strategy: |
70 |
| - fail-fast: false |
71 |
| - matrix: |
72 |
| - os: ["ubuntu-latest"] |
73 |
| - env: |
74 |
| - [ |
75 |
| - "no-xarray", |
76 |
| - "no-dask", |
77 |
| - "minimal-requirements", |
78 |
| - ] |
79 |
| - steps: |
80 |
| - - uses: actions/checkout@v3 |
81 |
| - with: |
82 |
| - fetch-depth: 0 # Fetch all history for all branches and tags. |
83 |
| - - name: Set up conda environment |
84 |
| - uses: mamba-org/provision-with-micromamba@v13 |
85 |
| - with: |
86 |
| - environment-file: ci/${{ matrix.env }}.yml |
87 |
| - environment-name: flox-tests |
88 |
| - cache-env: true |
89 |
| - extra-specs: | |
90 |
| - python="${{ matrix.python-version }}" |
91 |
| - - name: Install flox |
92 |
| - run: | |
93 |
| - python -m pip install --no-deps -e . |
94 |
| - - name: Run tests |
95 |
| - run: | |
96 |
| - python -m pytest -n auto |
97 |
| -
|
98 |
| - upstream-dev: |
99 |
| - name: upstream-dev |
100 |
| - runs-on: ubuntu-latest |
101 |
| - defaults: |
102 |
| - run: |
103 |
| - shell: bash -l {0} |
104 |
| - steps: |
105 |
| - - uses: actions/checkout@v3 |
106 |
| - - name: Set up conda environment |
107 |
| - uses: mamba-org/provision-with-micromamba@v13 |
108 |
| - with: |
109 |
| - environment-file: ci/upstream-dev-env.yml |
110 |
| - environment-name: flox-tests |
111 |
| - extra-specs: | |
112 |
| - python="3.10" |
113 |
| - - name: Run Tests |
114 |
| - run: | |
115 |
| - pytest -n 2 |
116 |
| -
|
117 |
| - xarray-groupby: |
118 |
| - name: xarray-groupby |
119 |
| - runs-on: ubuntu-latest |
120 |
| - defaults: |
121 |
| - run: |
122 |
| - shell: bash -l {0} |
123 |
| - steps: |
124 |
| - - uses: actions/checkout@v3 |
125 |
| - with: |
126 |
| - repository: 'pydata/xarray' |
127 |
| - fetch-depth: 0 # Fetch all history for all branches and tags. |
128 |
| - - name: Set up conda environment |
129 |
| - uses: mamba-org/provision-with-micromamba@v13 |
130 |
| - with: |
131 |
| - environment-file: ci/requirements/environment.yml |
132 |
| - environment-name: xarray-tests |
133 |
| - cache-env: true |
134 |
| - extra-specs: | |
135 |
| - python="3.10" |
136 |
| - - name: Install xarray |
137 |
| - run: | |
138 |
| - python -m pip install --no-deps . |
139 |
| - - name: Install upstream flox |
140 |
| - run: | |
141 |
| - python -m pip install --no-deps \ |
142 |
| - git+https://github.com/dcherian/flox.git@${{ github.ref }} |
143 |
| - - name: Version info |
144 |
| - run: | |
145 |
| - conda info -a |
146 |
| - conda list |
147 |
| - python xarray/util/print_versions.py |
148 |
| - - name: import xarray |
149 |
| - run: | |
150 |
| - python -c 'import xarray' |
151 |
| - - name: import flox |
152 |
| - run: | |
153 |
| - python -c 'import flox' |
154 |
| - - name: Run Tests |
155 |
| - if: success() |
156 |
| - id: status |
157 |
| - run: | |
158 |
| - set -euo pipefail |
159 |
| - python -m pytest -n auto xarray/tests/test_groupby.py |
0 commit comments