-
Notifications
You must be signed in to change notification settings - Fork 43
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
(fix #52)Add integration tests for package managers #121
base: master
Are you sure you want to change the base?
Conversation
IntegrationTests/package-manager/test-carthage/test-carthage/test
Outdated
Show resolved
Hide resolved
Would you please remove latest swift (failing tests) for now? so we can get clean ci result. Also add a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the purpose of
the extra folder package-manager
in IntegrationTests/
? I prefer a flatter structure. Probably IntegrationTests/[SwiftPackage|Carthage|CocoaPods]/
?
|
||
integration_tests_package_manager: | ||
strategy: | ||
fail-fast: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems the test will pass even if build failed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fail-fast
means a failed job will not fail the whole matrix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. So what we actually need is set -o pipefail
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Today I learned, thanks!
Will add this to gitignore, 🤦🏻♀️, carthage doesn't support relative path as far as I know. |
Will add more integration tests in the future, for example, test the integration with CxCocoa |
Does such test belong to CXCocoa? |
# Conflicts: # .github/workflows/ci.yml
No description provided.