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

Always upload coverage on CI to reduce flaky code coverage reports #515

Merged
merged 1 commit into from
Jul 4, 2020

Conversation

lgeiger
Copy link
Member

@lgeiger lgeiger commented Jul 3, 2020

Since we have special handling for different TensorFlow version Codecov sometimes reported wrong results (see e.g. #514). This PR changes our CI to always compute coverage and let Codecov handle the merging automatically.

@lgeiger lgeiger added the internal-improvement Internal Improvements and Maintenance label Jul 3, 2020
@lgeiger lgeiger requested a review from a team July 3, 2020 21:10
@@ -25,23 +27,9 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install tensorflow==${{matrix.tf-version}}
pip install tensorflow-cpu==${{matrix.tf-version}} || pip install tensorflow==${{matrix.tf-version}}
Copy link
Member Author

@lgeiger lgeiger Jul 3, 2020

Choose a reason for hiding this comment

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

This change will slightly speedup CI if a CPU only version of TensorFlow is available.

@AdamHillier AdamHillier merged commit 20995f9 into master Jul 4, 2020
@AdamHillier AdamHillier deleted the coverage branch July 4, 2020 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal-improvement Internal Improvements and Maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants