Add: workflow dispatch option #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow runs tests for the geo-python environment | |
# It uses mambaforge which is blazing fast powered by mamba / C++ | |
name: Test Geo-python Envt Mac, Linux, Windows | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
runtests: | |
name: conda (${{ matrix.os }}) | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest", "macos-latest", "windows-latest"] | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install conda envt w micromamba | |
uses: mamba-org/provision-with-micromamba@main | |
with: | |
environment-file: environment.yml | |
environment-name: geo-python | |
cache-downloads: true | |
- run: mamba list | |
- run: python -c "import rioxarray" |