Skip to content

release 1.2.17

release 1.2.17 #350

Workflow file for this run

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