In this video, I'll be going over some of the most common solutions to your Airflow problems, and show you how you can implement them to debug your DAG's faster!
Regarding the last part with pytest. Is there a way to run it automatically before a DAG run? Typing pytest manually in CLI before running a DAG seems cumbersome.
Yes! You can add a dag.test to your DAG and it will test automatically for every dag run, check out the docs here: airflow.apache.org/docs/apache-airflow/stable/core-concepts/executor/debug.html
Regarding the last part with pytest. Is there a way to run it automatically before a DAG run? Typing pytest manually in CLI before running a DAG seems cumbersome.
Yes! You can add a dag.test to your DAG and it will test automatically for every dag run, check out the docs here: airflow.apache.org/docs/apache-airflow/stable/core-concepts/executor/debug.html