CI fails on main
Currently CI fails on main
with:
$ python3 -m tor_weather.job
Traceback (most recent call last):
File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.9/site-packages/tor_weather/job.py", line 4, in <module>
entry_onionoo_job()
File "/usr/local/lib/python3.9/site-packages/tor_weather/__init__.py", line 54, in entry_onionoo_job
configure_database(app)
File "/usr/local/lib/python3.9/site-packages/tor_weather/__init__.py", line 82, in configure_database
db.init_app(app)
File "/usr/local/lib/python3.9/site-packages/flask_sqlalchemy/extension.py", line 355, in init_app
raise RuntimeError(
RuntimeError: Either 'SQLALCHEMY_DATABASE_URI' or 'SQLALCHEMY_BINDS' must be set.
Cleaning up project directory and file based variables 00:00
ERROR: Job failed: exit code 1