Skip to content

Commit

Permalink
Attempting to tackle .airflowignore issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jroach-astronomer committed Oct 24, 2024
1 parent a4779bd commit 458c3d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_example_dags.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from __future__ import annotations

import os
from pathlib import Path

try:
Expand Down Expand Up @@ -51,6 +52,7 @@ def get_dag_bag() -> DagBag:

for dagfile in IGNORED_DAG_FILES:
print(f"Adding {dagfile} to .airflowignore")
print(os.system("pwd"))
file.writelines([
f"/home/runner/work/dag-factory/dag-factory/dev/dags/{dagfile}\n" +
f"/home/runner/work/dag-factory/dag-factory/examples/{dagfile}\n" if AIRFLOW_VERSION == Version('2.3')
Expand Down

0 comments on commit 458c3d4

Please sign in to comment.