Skip to content

docs: update the enhanced methods in the output #62

docs: update the enhanced methods in the output

docs: update the enhanced methods in the output #62

Workflow file for this run

name: Unit testing
on:
- push
- workflow_dispatch
env:
EARTHENGINE_TOKEN: ${{ secrets.EARTHENGINE_TOKEN }}
PLANET_API_KEY: ${{ secrets.PLANET_API_KEY }}
jobs:
lint:
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"
- uses: pre-commit/[email protected]
- name: Install module venv
run: |
python -m pip install "git+https://github.com/12rambau/sepal_ui.git@sepal_pre_release"
module_venv --venv_prefix venv
- name: Activate venv
run: source ~/module-venv/clip-time-series/bin/activate
- name: install nbmake
run: 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 module venv
run: |
python -m pip install "git+https://github.com/12rambau/sepal_ui.git@sepal_pre_release"
python -m pip install pytest
module_venv --venv_prefix venv
- name: Activate venv and run tests
run: |
source ~/module-venv/clip-time-series/bin/activate
python -m pip install pytest
python -m pytest test/