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

Replace cp --parents with bash script for macOS compatibility #391

Merged
merged 4 commits into from
Nov 11, 2024

Conversation

abhikdps
Copy link
Contributor

@abhikdps abhikdps commented Nov 7, 2024

Resolves #246

Summary

Replaced the use of cp --parents with bash scripting to ensure compatibility with macOS.

Details

To verify this change, I ran a minimal example:

Note

The test setup intentionally causes all integration tests to fail while ensuring unit tests succeed. This confirms that the tests are executing correctly as expected.

Original Contribution

#379 by h3nryc0ding

@abhikdps abhikdps added the bug This issue/PR relates to a bug. label Nov 7, 2024
@abhikdps abhikdps marked this pull request as ready for review November 7, 2024 14:45
@abhikdps abhikdps requested a review from a team as a code owner November 7, 2024 14:45
@abhikdps abhikdps requested a review from ssbarnea November 7, 2024 14:46
@ssbarnea ssbarnea changed the title replace cp --parents with bash script for macOS compatibility Replace cp --parents with bash script for macOS compatibility Nov 8, 2024
src/tox_ansible/plugin.py Outdated Show resolved Hide resolved
Copy link
Member

@ssbarnea ssbarnea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use sh instead

@abhikdps abhikdps requested a review from ssbarnea November 11, 2024 13:57
@ssbarnea ssbarnea merged commit c58b014 into ansible:main Nov 11, 2024
19 checks passed
@abhikdps abhikdps deleted the cp_fix branch November 11, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Failure on MacOS since cp does not support --parents
2 participants