Skip to content

Skip test that needs the .git folder when it is missing #52305

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

Merged

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Jun 26, 2025

When you run breeze tests in breeze - by default .git folder is missing because it is not mounted to inside breeze. This can be remediated with breeze shell --mount all but this test should simply not run if .git folder is missing.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

When you run breeze tests in breeze - by default .git folder is
missing because it is not mounted to inside breeze. This can be
remediated with `breeze shell --mount all` but this test should
simply not run if .git folder is missing.
@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-0-test Mark PR with this label to backport to v3-0-test branch labels Jun 26, 2025
@potiuk potiuk requested a review from eladkal June 26, 2025 20:35
@potiuk potiuk merged commit 9275f7b into apache:main Jun 26, 2025
84 of 85 checks passed
@potiuk potiuk deleted the skip-git-dependent-breeze-tests-if-no-git-available branch June 26, 2025 20:46
github-actions bot pushed a commit that referenced this pull request Jun 26, 2025
…52305)

When you run breeze tests in breeze - by default .git folder is
missing because it is not mounted to inside breeze. This can be
remediated with `breeze shell --mount all` but this test should
simply not run if .git folder is missing.
(cherry picked from commit 9275f7b)

Co-authored-by: Jarek Potiuk <[email protected]>
Copy link

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

potiuk added a commit that referenced this pull request Jun 26, 2025
…52305) (#52308)

When you run breeze tests in breeze - by default .git folder is
missing because it is not mounted to inside breeze. This can be
remediated with `breeze shell --mount all` but this test should
simply not run if .git folder is missing.
(cherry picked from commit 9275f7b)

Co-authored-by: Jarek Potiuk <[email protected]>
@potiuk
Copy link
Member Author

potiuk commented Jun 26, 2025

Nice.... After I synchronized dev scripts - all those automated backports have a chance to be green !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dev-tools backport-to-v3-0-test Mark PR with this label to backport to v3-0-test branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants