Skip to content

Commit aac6834

Browse files
authored
moved all tests to github actions (#689)
1 parent 8f13862 commit aac6834

File tree

5 files changed

+33
-76
lines changed

5 files changed

+33
-76
lines changed

.appveyor.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: pytest
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
branches:
8+
- '*'
9+
10+
jobs:
11+
run:
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
16+
python: [3.6, 3.7, 3.8, 3.9]
17+
env:
18+
OS: ${{ matrix.os }}
19+
PYTHON: ${{ matrix.python }}
20+
steps:
21+
- uses: actions/checkout@master
22+
- name: Setup Python
23+
uses: actions/setup-python@master
24+
with:
25+
python-version: ${{ matrix.python }}
26+
- name: Install dependencies
27+
run: |
28+
python -m pip install --upgrade pip
29+
pip install -e .[tests]
30+
- name: Run pytest
31+
run: pytest

.travis.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
[![Build status](https://ci.appveyor.com/api/projects/status/4aco2mfbk14vds77?svg=true)](https://ci.appveyor.com/project/brendancol/xarray-spatial)
1+
![pypi](https://github.com/makepath/xarray-spatial/actions/workflows/pypi-publish.yml/badge.svg)
2+
![pytest](https://github.com/makepath/xarray-spatial/actions/workflows/test.yml/badge.svg)
23
[![codecov](https://codecov.io/gh/makepath/xarray-spatial/branch/master/graph/badge.svg)](https://codecov.io/gh/makepath/xarray-spatial)
34
[![PyPI version](https://badge.fury.io/py/xarray-spatial.svg)](https://badge.fury.io/py/xarray-spatial)
45
[![Downloads](https://img.shields.io/pypi/dm/xarray-spatial.svg)]()

tox.ini

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)