Open arjunsavel opened 4 months ago
Pretty sure tests will fail — still working on this.
we want to instead do this for the ingest_sources
function. will make the tests take too long, and tests will fail if SIMBAD is down.
SIMBAD as part of a set of monthly tests?
todo: make this a ~monthly check.
In SIMPLE, we called it scheduled_checks.py
so it's not auto-discovered by pytest.
Here's also the action file to use for inspiration. This runs every 30 days: https://github.com/SIMPLE-AstroDB/SIMPLE-db/blob/main/.github/workflows/scheduled-tests.yml
thanks for all the comments!
Tried running in CodeSpaces but this doesn't run as-is, so some more iteration is needed; see the comments above.
Pushed a fix to the various issues I noticed above. The script runs successfully for me in CodeSpaces.
todo: rename the files to be the source names
do we want to test whether sources are simbad-resolvable?