-
Notifications
You must be signed in to change notification settings - Fork 473
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
Use Coveralls for coverage #1783
Conversation
pip install -e ".[dev-noks]" | ||
- name: Run Tests | ||
env: | ||
TEST_TYPE: ${{ matrix.type }} | ||
run: | | ||
cp scripts/run_tests.sh . | ||
./run_tests.sh | ||
- name: Coverage Upload | ||
uses: codecov/codecov-action@v1 | ||
- name: Coveralls Parallel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it necessary to manually install and run the CLI tool? Or can we use the GH action as shown in the example here: https://github.com/marketplace/actions/coveralls-github-action#complete-parallel-job-example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question. I couldn't get it to work since it expects a .lcov
file.
Here's an open issue if you can find a better workaround coverallsapp/github-action#30
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As an additional note, once we've confirmed the URL, we should change the CI badge in README.md from CodeCov to Coveralls.
Closing in favor of #1784 |
Codecov has been extremely frustrating lately with failing to upload the results of our tests.
Since our tests take so long already, we don't want to have to re-run them multiple times to get differential coverage data
We need to allow https://coveralls.io/ to access this repo
We will need to add a Github secret token
COVERALLS_REPO_TOKEN
related to this repo to enable itThe settings for failing a PR for bad coverage is only managed in the web interface (pic below)