add last missing DOI for coastsat #329
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
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
name: Test CoastSeg | |
jobs: | |
Test: | |
name: ${{ matrix.os }}, ${{ matrix.env }} | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash -l {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
# tensorflow supports up to python 3.10 | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
env: [ci/envs/310-coastseg.yaml] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Conda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
environment-file: ${{ matrix.env }} | |
miniconda-version: "latest" | |
- run: | | |
conda info | |
conda list | |
- name: Install coastseg from pip | |
run: | | |
python -m pip install --upgrade pip | |
pip install coastseg --user | |
- name: Pip install pytest | |
run: | | |
pip install pytest | |
- name: Test with pytest | |
run: | | |
cd tests | |
python -m pytest |