Skip to content

[cli-test] Added /usr/bin to PATH so that haskell can to verify pkg downloads #2433

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
merged 1 commit into from
Dec 4, 2024

Conversation

mohsenari
Copy link
Collaborator

Summary

CICD jobs for cli-test has been failing on Haskell example because the PATH (only) in test environment for macos doesn't have access to /usr/bin/security so it fails to verify TLS handshake on haskell package downloads.
This small change ensures haskell has access to security binary.

Broader fix would be to add /usr/bin to setupPATH function that sets up test environments before being run in CICD. But this PR keeps the scope to only the failing test.

related to commercialhaskell/stack#4558

How was it tested?

tested in this CI job:
https://github.com/jetify-com/devbox/actions/runs/12147321911

@mohsenari mohsenari requested review from gcurtis and savil December 3, 2024 20:42
@mohsenari mohsenari merged commit 6aedf02 into main Dec 4, 2024
29 checks passed
@mohsenari mohsenari deleted the mohsen--fix-cli-test branch December 4, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants