Skip to content

Conversation

@iamdonovan
Copy link
Collaborator

This PR adds the following changes

  • additional dependencies to environment.yml for running tests locally
  • adds scripts/test_submission.py, which checks that all new/changed CSV files have the required columns; checks that geopackage files exist for all regions and that they have the correct columns; checks that the geopackage lake_cat attributes match what is found in the respective dataset/csv files.
  • adds a workflow for running these tests when pushing or opening a pull request

move from essd/ to main directory, add gitpython as a dependency
- test whether new/updated csv files have correct columns
- test whether all geopackage files (a) exist, and (b) have the correct columns
- re-name test_column_names -> test_columns
- add list of rgi regions rather than parsing filenames
- add test to compare lake_cat values in csv files and geopackage files
@iamdonovan iamdonovan merged commit 6f31bb5 into essd_review Nov 2, 2025
1 check passed
@iamdonovan iamdonovan deleted the action branch November 2, 2025 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants