Skip to content

Checking for 0 dimension input rather than 0 size input in xarray_to_cdf #492

Checking for 0 dimension input rather than 0 size input in xarray_to_cdf

Checking for 0 dimension input rather than 0 size input in xarray_to_cdf #492

Workflow file for this run

name: Run tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install package and test requirements
run: |
pip install -e .[tests]
pip check
- name: Run tests
run: pytest --cov=cdflib
- name: Upload code coverage
uses: codecov/codecov-action@v3