From 232cf15188aca6bc0ec32367d2289d16bbfee565 Mon Sep 17 00:00:00 2001 From: dcherian Date: Tue, 11 Oct 2022 19:29:10 -0600 Subject: [PATCH] [revert] only wiindows tests --- .github/workflows/ci.yaml | 102 +------------------------------------- 1 file changed, 2 insertions(+), 100 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 193c0cfad..ac2932e0f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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: @@ -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