Skip to content

Commit ac488cb

Browse files
author
Leah Wasser
authored
Update Ci to use actions (#88)
* add ci build * fix step names * add build * emove travis appveyor * cleanup
1 parent 73bdf15 commit ac488cb

File tree

3 files changed

+39
-62
lines changed

3 files changed

+39
-62
lines changed

.appveyor.yml

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

.github/workflows/build-test-envt.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# This workflow runs tests for earthpy
2+
# Because we want a conda environment - and that builds slower,
3+
# we divided up tests from linting and docs to make for simpler install envts
4+
5+
name: Test EA Python Envt Mac, Linux, Windows
6+
7+
on:
8+
push:
9+
branches:
10+
- '*'
11+
pull_request:
12+
branches:
13+
- '*'
14+
15+
jobs:
16+
runtests:
17+
name: conda (${{ matrix.os }})
18+
runs-on: ${{ matrix.os }}
19+
strategy:
20+
fail-fast: false
21+
matrix:
22+
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
23+
defaults:
24+
run:
25+
shell: bash -l {0}
26+
steps:
27+
- uses: actions/checkout@v2
28+
- uses: conda-incubator/setup-miniconda@v2
29+
with:
30+
miniconda-version: 'latest'
31+
channels: conda-forge
32+
channel-priority: true
33+
auto-update-conda: false
34+
auto-activate-base: false
35+
environment-file: environment.yml
36+
activate-environment: earth-analytics-python
37+
- run: conda list
38+
- run: python -c "import earthpy"
39+
- run: python -c "import rasterio"

.travis.yml

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

0 commit comments

Comments
 (0)