Skip to content

Commit

Permalink
[revert] only wiindows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Oct 12, 2022
1 parent bed84c2 commit 232cf15
Showing 1 changed file with 2 additions and 100 deletions.
102 changes: 2 additions & 100 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-latest"]
python-version: ["3.8", "3.10"]
os: ["windows-latest"]
python-version: ["3.8"]
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -59,101 +59,3 @@ jobs:
env_vars: RUNNER_OS,PYTHON_VERSION
name: codecov-umbrella
fail_ci_if_error: false

optional-deps:
name: ${{ matrix.env }}
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
env:
[
"no-xarray",
"no-dask",
"minimal-requirements",
]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Set up conda environment
uses: mamba-org/provision-with-micromamba@v13
with:
environment-file: ci/${{ matrix.env }}.yml
environment-name: flox-tests
cache-env: true
extra-specs: |
python="${{ matrix.python-version }}"
- name: Install flox
run: |
python -m pip install --no-deps -e .
- name: Run tests
run: |
python -m pytest -n auto
upstream-dev:
name: upstream-dev
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
- name: Set up conda environment
uses: mamba-org/provision-with-micromamba@v13
with:
environment-file: ci/upstream-dev-env.yml
environment-name: flox-tests
extra-specs: |
python="3.10"
- name: Run Tests
run: |
pytest -n 2
xarray-groupby:
name: xarray-groupby
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v3
with:
repository: 'pydata/xarray'
fetch-depth: 0 # Fetch all history for all branches and tags.
- name: Set up conda environment
uses: mamba-org/provision-with-micromamba@v13
with:
environment-file: ci/requirements/environment.yml
environment-name: xarray-tests
cache-env: true
extra-specs: |
python="3.10"
- name: Install xarray
run: |
python -m pip install --no-deps .
- name: Install upstream flox
run: |
python -m pip install --no-deps \
git+https://github.com/dcherian/flox.git@${{ github.ref }}
- name: Version info
run: |
conda info -a
conda list
python xarray/util/print_versions.py
- name: import xarray
run: |
python -c 'import xarray'
- name: import flox
run: |
python -c 'import flox'
- name: Run Tests
if: success()
id: status
run: |
set -euo pipefail
python -m pytest -n auto xarray/tests/test_groupby.py

0 comments on commit 232cf15

Please sign in to comment.