Skip to content

[Feat] Cache NC sample data for tests in CI #2304

@wenzeslaus

Description

@wenzeslaus

Is your feature request related to a problem?

Tests running on Ubuntu download the test data every time they run.

The URL is:

https://grass.osgeo.org/sampledata/north_carolina/nc_spm_full_v2alpha2.tar.gz

Describe the solution you'd like

GitHub Actions cache is used instead of a download inside the test script.

Describe alternatives you've considered

All these would be good improvements in addition to cashing but reducing the need for cashing at the same time:

  • Smaller dataset for test (identify what tests needs and what tests can do without)
  • New stable dataset combining old full and basic NC SPM with tests fixed accordingly (now the two datasets are basically merged with duplication)
  • Better compression.

Additional context

The caching in GitHub Actions was broken in the past, but now it consistently works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIContinuous integrationenhancementNew feature or requestgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions