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 against a pgstac database #91

Merged
merged 1 commit into from
Oct 30, 2023
Merged

Test against a pgstac database #91

merged 1 commit into from
Oct 30, 2023

Conversation

gadomski
Copy link

As a part of my work to chase down validation problems in staging (e.g. https://github.com/NASA-IMPACT/veda-architecture/issues/335#issuecomment-1768627739), I needed to check that veda-stac-ingestor was putting collections into pgstac correct. It is! 🎉 But the test I cooked up feels like a reasonable thing to add to the repo to ensure that we keep doing the right thing.

  • Uses a real, locally-running pgstac database
  • Test is skipped if the database isn't running to keep a simple pytest call working
  • Includes CI

@gadomski gadomski requested a review from ividito October 20, 2023 20:07
@gadomski gadomski self-assigned this Oct 20, 2023
@gadomski gadomski merged commit fba463d into dev Oct 30, 2023
7 checks passed
@gadomski gadomski deleted the test-pgstac branch October 30, 2023 21:22
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