Skip to content

Added weights_mode in CDD options. Fixed init of weights in non broad… #36

Added weights_mode in CDD options. Fixed init of weights in non broad…

Added weights_mode in CDD options. Fixed init of weights in non broad… #36

Workflow file for this run

name: Pyg2p Unit Tests
on: [push]
jobs:
tests:
runs-on: ubuntu-20.04
strategy:
max-parallel: 5
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.7
- name: Install python and gcc
shell: bash -el {0}
run: |
conda install -c conda-forge python=3.7
conda install -c conda-forge gcc=12.1.0
- name: Install gdal
shell: bash -el {0}
run: |
conda install -c conda-forge gdal eccodes
- name: Install dependencies
shell: bash -el {0}
run: |
pip install -r requirements.txt
pip install .
- name: Workaround for poppler lib issue
shell: bash -el {0}
run: |
conda list
pip install poppler-utils
conda install 'poppler=>22.10.0'
- name: Check installation
shell: bash -el {0}
run: |
conda list
gdal-config --version
python -c "from osgeo import gdal; print(gdal.__version__)"
- name: Test with pytest
shell: bash -el {0}
run: |
pip install pytest pytest-cov
pytest