Skip to content

Test environment for Docker #6

Test environment for Docker

Test environment for Docker #6

name: Test environment for Docker
on: workflow_dispatch
jobs:
runtests:
name: "Set up environment"
runs-on: "ubuntu-20.04"
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: 'latest'
channels: conda-forge
channel-priority: true
auto-update-conda: false
auto-activate-base: false
environment-file: environment.yml
activate-environment: earth-analytics-python
- run: conda list
- run: python -c "import earthpy"
- run: python -c "import rasterio"