Skip to content

Write patch extraction metadata directly to STAC API #322

Write patch extraction metadata directly to STAC API

Write patch extraction metadata directly to STAC API #322

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
name: tests
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v4
with:
python-version: 3.9
cache: 'pip'
# - name: Install openEO-GFMAP from source
# run: |
# git clone https://github.com/Open-EO/openeo-gfmap.git
# cd openeo-gfmap
# pip install .
# cd ..
- name: Install Presto from source
run: |
git clone -b croptype https://github.com/WorldCereal/presto-worldcereal.git
cd presto-worldcereal
pip install .
cd ..
- name: Install WorldCereal dependencies
run: pip install ".[dev,train]"
- name: Run WorldCereal tests
run: python -m pytest -s --log-cli-level=INFO tests
env:
OPENEO_AUTH_METHOD: client_credentials
OPENEO_OIDC_DEVICE_CODE_MAX_POLL_TIME: 5
OPENEO_AUTH_PROVIDER_ID_CDSE: CDSE
OPENEO_AUTH_CLIENT_ID_CDSE: openeo-worldcereal-service-account
OPENEO_AUTH_CLIENT_SECRET_CDSE: ${{ secrets.OPENEO_AUTH_CLIENT_SECRET_CDSE }}