Skip to content

Commit

Permalink
Only run a single python version on merge (dagster-io#16188)
Browse files Browse the repository at this point in the history
We still will run them all on the release branch. This quarters our test
volume in exchange for potentially finding out later in the release
cycle that we've introduced a backward incompatible change.
  • Loading branch information
jmsanders authored Aug 29, 2023
1 parent e0d9ebc commit 7c1fcc6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_default(cls) -> "AvailablePythonVersion":
def get_pytest_defaults(cls) -> List["AvailablePythonVersion"]:
branch_name = safe_getenv("BUILDKITE_BRANCH")
commit_message = safe_getenv("BUILDKITE_MESSAGE")
if branch_name == "master" or is_release_branch(branch_name):
if is_release_branch(branch_name):
return cls.get_all()
else:
# environment variable-specified defaults
Expand Down

0 comments on commit 7c1fcc6

Please sign in to comment.