ocean-ds/ocean-ios

Enforce tests for new changes

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
We must consider tests when developing a library that supports other applications, because this brings some quality and facilitates new changes. So, I propose to configure this project to require 100% test coverage of what we are delivering.

Describe the solution you'd like

  • Configure local and CI to run tests.
  • Pull requests must be 100% changes coverage for merge.

Describe alternatives you've considered
https://about.codecov.io/blog/code-coverage-for-ios-development-using-swift-xcode-and-github-actions/

Additional context
You can take what we've made in this project as a reference:
https://github.com/ocean-ds/ocean-web/blob/master/.github/workflows/ci.yml