Skip to content

v1.2.17

v1.2.17 #375

Workflow file for this run

on:
push:
branches: [main]
pull_request:
branches: [main]
name: Test CoastSeg Pip Installation
jobs:
Test:
name: ${{ matrix.os }}, ${{ matrix.env }}
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
env: [ci/envs/310-coastseg.yaml]
steps:
- uses: actions/checkout@v4
- name: Setup Conda
uses: conda-incubator/setup-miniconda@v3
with:
environment-file: ${{ matrix.env }}
miniconda-version: "latest"
python-version: "3.10"
- run: |
conda info
conda list
- name: Install coastseg with pip install -e .
run: |
pip install -e . --user
- name: Pip install pytest
run: |
pip install pytest
- name: Test with pytest
run: |
cd tests
python -m pytest