Skip to content

Commit b43ebd3

Browse files
authored
Create build-for-docker.yml
1 parent cb510c0 commit b43ebd3

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Test environment for Docker
2+
3+
on: workflow_dispatch
4+
5+
jobs:
6+
runtests:
7+
name: "Set up environment"
8+
runs-on: "ubuntu-latest"
9+
defaults:
10+
run:
11+
shell: bash -l {0}
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: conda-incubator/setup-miniconda@v2
15+
with:
16+
miniconda-version: 'latest'
17+
channels: conda-forge
18+
channel-priority: true
19+
auto-update-conda: false
20+
auto-activate-base: false
21+
environment-file: environment.yml
22+
activate-environment: earth-analytics-python
23+
- run: conda list
24+
- run: python -c "import earthpy"
25+
- run: python -c "import rasterio"

0 commit comments

Comments
 (0)