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

(Chore) App 3.0 - Collect both app and API coverage #313

Merged
merged 2 commits into from
Aug 29, 2017
Merged

Conversation

mcous
Copy link
Contributor

@mcous mcous commented Aug 28, 2017

Hey guys, another CI-focused chore PR here. This one lets us start collecting coverage information from both the API and the app (also, badges!).

I've switch our coverage provider from Coveralls to Codecov. I've used both in the past, with all my newer projects using Codecov. They're not that different, it's just the Codecov makes multi-language projects super easy, and Coveralls makes it less easy than that. Check out the report for this PR: https://codecov.io/gh/OpenTrons/opentrons/branch/v3-chore-coverage

I've also started a top-level Makefile to start coordinating stuff that until now has only lived in travis.yml. Basically, it has some tasks to call sub-tasks in the Makefiles of app and api. Right now it's got:

  • make install - Install all pip and npm dependencies
  • make test - Run all project tests
  • make coverage - Upload all coverage reports to codecov

Reviewers: please give this a sanity check and let me know if you disagree with any decisions I've made here and/or know of better ways to do things

Copy link
Contributor

@Kadee80 Kadee80 left a comment

Choose a reason for hiding this comment

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

LGTM. Not terribly qualified to comment on CI

.travis.yml Outdated
@@ -42,23 +42,26 @@ before_install:

install:
- source scripts/install-${TRAVIS_OS_NAME} # OS-specific installs
# TODO(mc, 2017-08-28): these should be in requirements.txt, but also are
Copy link
Contributor

Choose a reason for hiding this comment

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

pyyaml and coveralls are for coveralls, so it's safe to remove these, since we are no longer using it

@Opentrons Opentrons deleted a comment from codecov-io Aug 28, 2017
@mcous mcous merged commit bccee02 into app-3-0 Aug 29, 2017
@mcous mcous deleted the v3-chore-coverage branch August 29, 2017 18:17
@mcous mcous mentioned this pull request Jul 30, 2021
2 tasks
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.

3 participants