Skip to content

refactor: adapt to planet_model #55

refactor: adapt to planet_model

refactor: adapt to planet_model #55

Workflow file for this run

name: Unit testing
on:
- push
- workflow_dispatch
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- uses: pre-commit/[email protected]
- name: install dependencies
run: |
python -m pip install --find-links=https://girder.github.io/large_image_wheels GDAL
python -m pip install earthengine-api
python -m pip install -r requirements.txt
python -m pip install pytest nbmake
- name: build the application
run: pytest --nbmake ui.ipynb
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install sepal_ui
run: python -m pip install "git+https://github.com/12rambau/sepal_ui.git@sepal_pre_release"
- name: Build with sepal_ui venv
run: module_venv
- name: run tests
run: python -m pytest tests/ --v -s