opentargets / issues

Issue tracker for Open Targets Platform and Open Targets Genetics Portal
https://platform.opentargets.org https://genetics.opentargets.org
Apache License 2.0
12 stars 2 forks source link

Re-enable and fix the `test_no_import_errors` Airflow DAG test #3140

Closed tskir closed 8 months ago

tskir commented 8 months ago

As @d0choa mentioned:

@ireneisdoomed and I failed to make the (commented) test test_no_import_errors in tests/airflow/test_dag.py run. The test is meant to validate that the DAG will be imported into Airflow without errors. It used to work before the split that created the common_airflow.py script, but I think it's now having issues with the fact that it needs to import the other script.

It feels like this is a critical test to have from a CI/CD point of view.