Skip to content

Commit 12f2279

Browse files
committed
CI updates.
1 parent 95d9617 commit 12f2279

File tree

2 files changed

+33
-4
lines changed

2 files changed

+33
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,23 +59,28 @@ jobs:
5959

6060
optional-deps:
6161
name: ${{ matrix.env }}
62-
runs-on: ${{ matrix.os }}
62+
runs-on: "ubuntu-latest"
6363
defaults:
6464
run:
6565
shell: bash -l {0}
6666
strategy:
6767
fail-fast: false
6868
matrix:
69-
os: ["ubuntu-latest"]
70-
env: ["no-xarray", "no-dask", "minimal-requirements"]
69+
python-version: ["3.11"]
70+
env: ["no-xarray", "no-dask"]
71+
include:
72+
- env: "no-numba"
73+
python-version: "3.12"
74+
- env: "minimal-requirements"
75+
python-version: "3.9"
7176
steps:
7277
- uses: actions/checkout@v4
7378
with:
7479
fetch-depth: 0 # Fetch all history for all branches and tags.
7580
- name: Set up conda environment
7681
uses: mamba-org/setup-micromamba@v1
7782
with:
78-
environment-file: ci/environment.yml
83+
environment-file: ci/${{ matrix.env }}.yml
7984
environment-name: flox-tests
8085
init-shell: bash
8186
cache-environment: true

ci/no-numba.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: flox-tests
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- asv
6+
- cachey
7+
- codecov
8+
- dask-core
9+
- netcdf4
10+
- pandas
11+
- numpy>=1.21
12+
- lxml # for mypy coverage report
13+
- matplotlib
14+
- pip
15+
- pytest
16+
- pytest-cov
17+
- pytest-pretty
18+
- pytest-xdist
19+
- xarray
20+
- pre-commit
21+
- numpy_groupies>=0.9.19
22+
- pooch
23+
- toolz
24+
- scipy

0 commit comments

Comments
 (0)