Skip to content

Commit

Permalink
Also trigger builds when tox.ini changes (#10209)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmsanders committed Oct 27, 2022
1 parent 4ef9d27 commit 2bbf998
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,10 @@ def skip_reason(self) -> Optional[str]:
# Our change is in this package's directory
(Path(self.directory) in change.parents)
# The file can alter behavior - exclude things like README changes
and (change.suffix in [".py", ".cfg", ".toml"] or change.name == "requirements.txt")
and (
change.suffix in [".py", ".cfg", ".toml", ".ini"]
or change.name == "requirements.txt"
)
):
logging.info(f"Building {self.name} because it has changed")
return None
Expand Down

0 comments on commit 2bbf998

Please sign in to comment.