Skip to content

Commit

Permalink
Merge pull request #170 from roocs/add_build_xarray_master
Browse files Browse the repository at this point in the history
Add build against xarray master
  • Loading branch information
Zeitsperre authored May 10, 2021
2 parents 3bce929 + 29383cd commit d192c12
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,16 @@ jobs:
include:
- python-version: 3.6
tox-env: py36
allowed_to_fail: false
- python-version: 3.7
tox-env: py37
tox-env: py37-xarray
allowed_to_fail: true
- python-version: 3.8
tox-env: py38
allowed_to_fail: false
- python-version: 3.9
tox-env: py39
allowed_to_fail: false
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -46,6 +50,8 @@ jobs:
run: pip install tox
- name: Test with tox
run: tox -e ${{ matrix.tox-env }}
continue-on-error: ${{ matrix.allowed_to_fail }}


conda-xesmf:
needs: black
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist = py{36,37,38,39}, black, py37-windows, macOS, docs
requires = pip >= 20.0
envlist = py{36,37,38,39}, black, py37-windows, macOS, docs, py37-xarray
requires = pip >= 21.0
opts = -v

[travis]
Expand Down Expand Up @@ -38,7 +38,7 @@ download = True
deps =
coveralls
pytest-cov
pip
commands =
xarray: pip install git+https://github.com/pydata/xarray.git@master#egg=xarray
pytest --cov tests
- coveralls

0 comments on commit d192c12

Please sign in to comment.