Skip to content

Commit c345599

Browse files
authored
Add upstream-dev test (#93)
1 parent 2fdf98a commit c345599

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,26 @@ jobs:
7474
env_vars: RUNNER_OS,PYTHON_VERSION
7575
name: codecov-umbrella
7676
fail_ci_if_error: false
77+
78+
upstream-dev:
79+
name: upstream-dev
80+
runs-on: ubuntu-latest
81+
steps:
82+
- uses: actions/checkout@v3
83+
- uses: conda-incubator/setup-miniconda@v2
84+
with:
85+
channels: conda-forge
86+
mamba-version: "*"
87+
activate-environment: flox-tests
88+
auto-update-conda: false
89+
python-version: '3.10'
90+
- name: Set up conda environment
91+
shell: bash -l {0}
92+
run: |
93+
mamba env update -f ci/upstream-dev-env.yml
94+
python -m pip install -e .
95+
conda list
96+
- name: Run Tests
97+
shell: bash -l {0}
98+
run: |
99+
pytest -n 2

ci/upstream-dev-env.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: flox-tests
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- cachey
6+
- codecov
7+
- netcdf4
8+
- pooch
9+
- toolz
10+
- numba
11+
- pytest
12+
- pytest-cov
13+
- pytest-xdist
14+
- pip
15+
- pip:
16+
- git+https://github.com/pydata/xarray
17+
- git+https://github.com/pandas-dev/pandas
18+
- git+https://github.com/dask/dask
19+
- git+https://github.com/ml31415/numpy-groupies

0 commit comments

Comments
 (0)