[GRASS-git] [OSGeo/grass-addons] eccea3: CI: Add extra addon-specific dependencies (#468)

Vaclav Petras noreply at github.com
Fri Mar 5 17:41:00 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass-addons
  Commit: eccea34c4d268254498f09c12a8ea85ab668977a
      https://github.com/OSGeo/grass-addons/commit/eccea34c4d268254498f09c12a8ea85ab668977a
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2021-03-05 (Fri, 05 Mar 2021)

  Changed paths:
    M .github/workflows/ci.yml
    A .github/workflows/extra_requirements.txt
    A .github/workflows/install_r_packages.R
    M .github/workflows/requirements.txt
    M .github/workflows/test.sh

  Log Message:
  -----------
  CI: Add extra addon-specific dependencies (#468)

For addons it is common to use pandas, scipy (and others) and R (Rscript).
This adds these to GitHub Action workflow so that the test of modules which use these
dependencies can run. It is also an intersting list of runtime dependencies which might be optional
for core and required for some addons.

These extra dependencies are installed only after core and addons compile which should
test for the compilation not requiring these extra dependencies.

Using R v4 (latest) to make packages work and because that's probably the best
practice (and simplest) for general R dependency management.

Notably, GDAL Python binding are missing (e.g., v.import, WMS in core, v.in.pygbif in addons)
because better dependency handling is needed there. 

Increase min required test success percentage to 60% (from 30%).




More information about the grass-commit mailing list