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

Fix Pytest fixture that changed DAG YAML file #256

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Conversation

tatiana
Copy link
Collaborator

@tatiana tatiana commented Oct 17, 2024

A Pytest fixture modified a DAG YAML file, which is not in .gitignore.

The consequence is that if there were errors, the fixture was changed and developers would potentially commit an invalid fixture - that would be invalid in the CI.

This PR leverages the previous change introduced in #236 to use envvars for templating YML filepaths..

The test was modifying a fixture, and this fixture is not in .gitignore.
The consequence is that if there were errors, the fixture was changed and developers would potentially commit an invalid fixture due to this.
This PR leverages the previous change introduced in #236 to use envvars for templating YML filepaths
@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.04%. Comparing base (540b33a) to head (4dcc038).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #256   +/-   ##
=======================================
  Coverage   89.04%   89.04%           
=======================================
  Files           8        8           
  Lines         648      648           
=======================================
  Hits          577      577           
  Misses         71       71           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tatiana tatiana added this to the DAG Factory 0.20.0 milestone Oct 17, 2024
@tatiana tatiana merged commit e639b1a into main Oct 17, 2024
35 checks passed
@tatiana tatiana deleted the fix-weird-test branch October 17, 2024 10:41
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.

3 participants