Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Changed README
Browse files Browse the repository at this point in the history
  • Loading branch information
BAntonellini committed Mar 2, 2022
1 parent 4eba507 commit a9db9be
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,26 @@ This action assumes that your dbt project is in the top-level directory of your
## Airflow validation usage

```yml
- name: Test Airflow DAGs validity
uses: datacoves/[email protected]
with:
command: "python /dagbag_validator.py"
env:
DATACOVES__YAML_DAGS_FOLDER: /path/to/yaml/dag/folder
AIRFLOW__CORE__DAGS_FOLDER: /path/to/apache/dag/folder
env:
DATACOVES__REPO_PATH: /path/to/repo
DATACOVES__YAML_DAGS_FOLDER: /path/to/airflow/yaml/files
AIRBYTE__EXTRACT_LOCATION: /path/to/airbyte/extracted/files
AIRFLOW__CORE__DAGS_FOLDER: /path/to/airflow/dags/location
AIRFLOW__CORE__DAGBAG_IMPORT_TIMEOUT: 300
TEST_MODE: "True" # Necessary to avoid connection issues between Airflow and Airbyte
steps:
- name: Test DAG structure integrity (DagBag Loading)
uses: datacoves/[email protected]
with:
command: "python /usr/app/load_dagbag.py"
- name: Test DBT Sources against DAGs' YAML files
uses: datacoves/[email protected]
with:
dbt_project_folder: "transform"
command: "python /usr/app/test_dags.py"
```

## Thanks
Expand Down

0 comments on commit a9db9be

Please sign in to comment.