Skip to content

Fix Pytest fixture that changed DAG YAML file#256

Merged
tatiana merged 1 commit into
mainfrom
fix-weird-test
Oct 17, 2024
Merged

Fix Pytest fixture that changed DAG YAML file#256
tatiana merged 1 commit into
mainfrom
fix-weird-test

Conversation

@tatiana
Copy link
Copy Markdown
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
Copy Markdown

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
@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