-
Notifications
You must be signed in to change notification settings - Fork 34
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
Update Cocoapods + bundle #143
Conversation
@@ -18,15 +18,13 @@ jobs: | |||
- name: Setup Ruby | |||
uses: ruby/setup-ruby@v1 | |||
with: | |||
ruby-version: '3.3.4' | |||
ruby-version: '3.3.5' |
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.
ended up bumping this while I was here
@unknown default: | ||
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.
I really don't know why this was necessary. builds locally without it. But in pod lib lint
I get the following error without:
/Users/dfed/source/Paralayout/ParalayoutTests/ViewDistributionBuilderTests.swift:206:9: error: switch covers known cases, but '(ViewDistributionItem, ViewDistributionItem)' may have additional unknown values
switch (lhs, rhs) {
^
/Users/dfed/source/Paralayout/ParalayoutTests/ViewDistributionBuilderTests.swift:206:9: note: add missing cases
switch (lhs, rhs) {
^
This is now passing CI! |
|
||
s.test_spec 'Tests' do |test_spec| | ||
test_spec.source_files = 'ParalayoutTests/*{.swift}' | ||
end |
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 ended up removing this after all in 6602c13 so that we wouldn't have to support Cocoapod's construction of unit test targets. IMO we don't gain anything from having this here given that we have other CI runs executing the test suite.
We have a dependabot alert. This fixes it.
Looks like the old SnapshotTesting pod was not compatible with the latest Cocoapods, so I had to move to SPM in the example project.