Skip to content

Initial scaffold: app, stac helpers, CI, pixi, binder #1

Initial scaffold: app, stac helpers, CI, pixi, binder

Initial scaffold: app, stac helpers, CI, pixi, binder #1

Workflow file for this run

# .github/workflows/ci.yml
name: CI
on:
push:
branches: [main, "refs/heads/*"]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install mamba and conda-forge packages
run: |
python -m pip install -U pip
python -m pip install mamba
mamba install -y -c conda-forge python=3.11 ipywidgets ipyleaflet pytest ruff
- name: Install project (pip)
run: |
python -m pip install -e .
- name: Lint (ruff)
run: |
python -m ruff check .
- name: Run tests (pytest)
run: |
pytest -q