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

refactor: use github actions and grcov #30

Merged
merged 1 commit into from
Oct 31, 2019

Conversation

baszalmstra
Copy link
Collaborator

@baszalmstra baszalmstra commented Oct 31, 2019

This commit replaces azure pipelines with github actions, tarpaulin with
(cross-platform) grcov, and codecov.io with coveralls.io.

Github Actions turned out to be a much better fit for this project. It
integrates much better with our already existing workflow, seems more
feature complete and is easier to work with.

Tarpaulin kept crashing on Azure Pipelines and after trying also with
Github Actions, its still under active development so thats not very
strange. However, I prefer to have inaccurate code coverage than no
coverage at all. Therefor I replaced Tarpaulin with grcov. grcov does
report some lines missed that are actually ok but again, its better than
nothing. Also, grcov works on all our target platforms so we get better
cross platform coverage in return.

I replaced codecov.io as our coverage service with coveralls.io.
Although I like the interface of codecov better there is no support
for uploading reports on macOS and windows. See
codecov/codecov-action#13 for more
information.

For an example of a pipeline see the result of this branch.

This commit replaces azure pipelines with github actions, tarpaulin with
(cross-platform) grcov, and codecov.io with coveralls.io.

Github Actions turned out to be a much better fit for this project. It
integrates much better with our already existing workflow, seems more
feature complete and is easier to work with.

Tarpaulin kept crashing on Azure Pipelines and after trying also with
Github Actions, its still under active development so thats not very
strange. However, I prefer to have inaccurate code coverage than no
coverage at all. Therefor I replaced Tarpaulin with grcov. grcov does
report some lines missed that are actually ok but again, its better than
nothing. Also, grcov works on all our target platforms so we get better
cross platform coverage in return.

I replaced codecov.io as our coverage service with coveralls.io.
Although I like the interface of codecov better there is no support
for uploading reports on macOS and windows. See
codecov/codecov-action#13 for more
information.
@baszalmstra baszalmstra self-assigned this Oct 31, 2019
@baszalmstra baszalmstra merged commit 5cee264 into mun-lang:master Oct 31, 2019
@baszalmstra baszalmstra deleted the github_actions branch October 31, 2019 21:11
@Wodann Wodann added this to the Mun v0.1.0 milestone May 14, 2020
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.

2 participants