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

Update tests targets to Swift 4.2 #28

Merged
merged 5 commits into from
Oct 10, 2018
Merged

Conversation

mttcrsp
Copy link
Contributor

@mttcrsp mttcrsp commented Oct 7, 2018

This PR closes #26 by updating all tests targets to Swift 4.2.

There's still one small issue that needs to be addressed and I would greatly appreciate @bcylin input on it.

It seems like Quick and Nimble have yet to be updated for Swift 4.2. This generates the following warning.

screenshot 2018-10-07 at 14 32 56

Do you have any preferred way to handle this? Here are some of the options:

  • inhibit warnings for the Quick target,
  • do nothing and leave the ⚠️ there so that we have a reminder that Quick needs to be updated,
  • ...

@codecov
Copy link

codecov bot commented Oct 7, 2018

Codecov Report

Merging #28 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #28   +/-   ##
========================================
  Coverage    94.71%   94.71%           
========================================
  Files           12       12           
  Lines          284      284           
========================================
  Hits           269      269           
  Misses          15       15

@bcylin
Copy link
Owner

bcylin commented Oct 7, 2018

Thanks for the pull request. Inhibiting warnings for the Quick target sounds like a good solution.

At this time the Quick testing framework  hasn't yet been updated to Swift 4.2. This causing some compilation warnings to be generated by the compiler. While discussing bcylin#26, it was decided to solve this issue by inhibiting warnings generated by the Quick pod for tests target.
Copy link
Owner

@bcylin bcylin left a comment

Choose a reason for hiding this comment

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

Looks good 👍 Thanks for the pull request.

@bcylin bcylin merged commit cb58549 into bcylin:develop Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert Testing Targets to Swift 4.2
2 participants