Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to read from multiple files #123

Merged
merged 7 commits into from
Feb 5, 2025
Merged

Conversation

b-per
Copy link
Collaborator

@b-per b-per commented Feb 5, 2025

Fixes #122

The following options are now possible:

  • dbt-jobs-as-code plan .dbt/jobs/*
  • dbt-jobs-as-code plan .dbt/jobs/*.yml
  • dbt-jobs-as-code plan .dbt/jobs/prod*.yml
  • dbt-jobs-as-code plan .dbt/jobs/**/*.yml

etc... Any glob following Unix matching should work

@b-per b-per requested a review from a team as a code owner February 5, 2025 14:54
Copy link
Contributor

github-actions bot commented Feb 5, 2025

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/dbt_jobs_as_code
   main.py24413943%93–96, 102, 122–123, 149–152, 158, 186–270, 317–349, 362–399, 425–464, 488–522, 527–528, 532
src/dbt_jobs_as_code/client
   __init__.py1775867%16, 53–54, 62, 89–104, 119–120, 139–140, 147–157, 170–171, 187–188, 205, 215, 245–247, 289–304, 327, 343–344, 354–366, 369–380, 385–394
src/dbt_jobs_as_code/cloud_yaml_mapping
   change_set.py1492285%46, 84–85, 123, 135, 156–157, 163–165, 180–183, 212–222, 241–250, 268–282, 318–331
src/dbt_jobs_as_code/importer
   __init__.py27774%14–15, 22–27
src/dbt_jobs_as_code/loader
   load.py87199%118
src/dbt_jobs_as_code/schemas
   __init__.py33488%49, 64, 77–78
   common_types.py621084%7–8, 12–13, 29–30, 67–68, 86, 92
   config.py14379%18, 24–25
   job.py81298%134, 139
TOTAL93124674% 

Tests Skipped Failures Errors Time
48 0 💤 0 ❌ 0 🔥 10.654s ⏱️

@b-per b-per changed the title Clean test imports Add ability to read from multiple files Feb 5, 2025
@b-per b-per merged commit d588486 into main Feb 5, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Run jobs from multiple YML files
1 participant