diff --git a/.github/workflows/test.sh b/.github/workflows/test.sh index 52fda23a85..0b70a09e8c 100755 --- a/.github/workflows/test.sh +++ b/.github/workflows/test.sh @@ -4,10 +4,12 @@ set -e # Install module from addons if not available (in v7). -if ! grass --tmp-project XY --exec g.download.location --help; then +if ! grass --tmp-project XY --exec g.download.location --help 2>1; then grass --tmp-project XY --exec \ g.extension g.download.location fi + +# note: g.download.location is a wrapper around g.download.project grass --tmp-project XY --exec \ g.download.location url=https://grass.osgeo.org/sampledata/north_carolina/nc_spm_full_v2alpha2.tar.gz path=$HOME