Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Remove coverall suport, install codecov in travis_after_test_success #648

Merged
merged 1 commit into from
Mar 21, 2020

Conversation

sbidoul
Copy link
Member

@sbidoul sbidoul commented Mar 14, 2020

As recommended by https://docs.coveralls.io/python

fixes #642

@pedrobaeza
Copy link
Member

We should remove all the coveralls remnants instead. We are using codecov since a lot.

@sbidoul sbidoul force-pushed the coverage-sbi branch 3 times, most recently from ad0cfb8 to f941d00 Compare March 21, 2020 14:00
@sbidoul sbidoul marked this pull request as ready for review March 21, 2020 14:02
@sbidoul sbidoul changed the title use python-coveralls Remove coverall suport, install codecov in travis_after_test_success Mar 21, 2020
@sbidoul sbidoul force-pushed the coverage-sbi branch 2 times, most recently from 384ded8 to a26ddf7 Compare March 21, 2020 15:13
@sbidoul
Copy link
Member Author

sbidoul commented Mar 21, 2020

still WIP

Also, install codecov only when needed
to avoid having uneeded and possibly conflicting dependencies
during tests
- LINT_CHECK="1" travis_install_nightly 8.0 # only used if VERSION not set in env
- git --git-dir=${TRAVIS_BUILD_DIR}/.git add --all # All modules moved are modules changed to test PR changes

script:
- TRAVIS_PULL_REQUEST="1" coverage run --append ./travis/travis_run_tests 8.0 # only used if VERSION not set in env
- TRAVIS_PULL_REQUEST="1" coverage run ./travis/travis_run_tests 8.0 # only used if VERSION not set in env
Copy link
Member Author

Choose a reason for hiding this comment

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

I think the root cause was this.

@sbidoul
Copy link
Member Author

sbidoul commented Mar 21, 2020

Ok, this works.

Good to go.

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

Thanks for the work

@pedrobaeza pedrobaeza merged commit 61c0abc into OCA:master Mar 21, 2020
@sbidoul sbidoul deleted the coverage-sbi branch March 21, 2020 22:05
@moylop260
Copy link
Contributor

Thanks for fixing @sbidoul 💯

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

coverage reporting broken?
5 participants