stages:
  - test

default:
  image: python:3.10
  tags:
    - ssec_shared
  before_script:
    - python --version  # For debugging
    - pip install hatch pytest


test:
  tags:
    - ssec_shared
  script:
    - python --version
    - pip install -e .
    - python setup.py build_ext --inplace
    - pytest tests/test_conf.py
    - pytest tests/test_read_data.py::test_sst
    - pytest tests/test_read_data.py::test_ndvi
    - pytest tests/test_read_data.py::test_geos