Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test MML queries are valid in CI #4614

Merged
merged 3 commits into from
Sep 3, 2022
Merged

Conversation

pnorman
Copy link
Collaborator

@pnorman pnorman commented Jul 21, 2022

Sometimes PRs come in with basic syntax errors in the queries in the MML file.

This could be because someone committed the wrong changes, or, less charitably, because they never tested. In either case, this is something that can be caught by automation.

Because the tables created depend on the shapefile layout, shapefiles with the same layout are required. The ones here were created by ogr2ogr, filtering all the data out so that only the columns remain.

@pnorman pnorman force-pushed the test_queries branch 2 times, most recently from fb8bbac to dbc2fac Compare July 21, 2022 06:20
@pnorman pnorman changed the title Test queries Test MML queries are valid in CI Jul 21, 2022
@pnorman pnorman marked this pull request as ready for review July 21, 2022 06:33
pnorman added 2 commits July 21, 2022 17:24
This requires importing empty shapefiles with the same layout
as the ones downloaded.
@@ -0,0 +1 @@
Thu 01 Jan 1970 12:00:00 AM UTC
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This (and other) files has a different format than external_data.last_modified, causing an issue. TODO: Change these to Thu, 01 Jan 1970 00:00:00 GMT with no newline.

@pnorman pnorman requested a review from sommerluk September 2, 2022 21:28
@pnorman pnorman merged commit fe43713 into gravitystorm:master Sep 3, 2022
@pnorman pnorman deleted the test_queries branch September 3, 2022 22:26
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