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

build(ci): atempt to fix coveralls report. #7977 #7981

Merged
merged 1 commit into from
Jun 30, 2021

Conversation

poikilotherm
Copy link
Contributor

What this PR does / why we need it:
This PR should finally resolve the coveralls report problem.

Which issue(s) this PR closes:

Closes #7977

Special notes for your reviewer:
None

Suggestions on how to test this:
None

Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Nope

Is there a release notes update needed for this change?:
Nope

Additional documentation:
None

@poikilotherm
Copy link
Contributor Author

poikilotherm commented Jun 30, 2021

This PR fixes the problem for pull requests. See https://coveralls.io/builds/40999007

It might be still broken for pushes, also it works at https://github.com/common-workflow-language/cwlviewer. No way to test that but merge this and see what happens.

Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

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

@poikilotherm thank you for this pull request! 🎉

It's along the lines I expected, based on posts I've seen.

I'm a little confused about one thing though...

In the pull request we see this:

-DrepoToken=${COVERALLS_SECRET}

Instead, should this be...

-DrepoToken=${COVERALLS_TOKEN}

... to match the secret we set up in pull request #7944? Here's a screenshot I just took:

Screen Shot 2021-06-30 at 10 47 42 AM

I'm confused about this because I can see that https://coveralls.io/github/IQSS/dataverse was updated this morning (the first time in a couple weeks) so whatever you're doing seems to be working:

Screen Shot 2021-06-30 at 10 51 27 AM

Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

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

In Matrix @poikilotherm explained that we don't need COVERALLS_TOKEN in https://github.com/IQSS/dataverse/settings/secrets so I deleted it.

What's used instead is the GitHub token (COVERALLS_SECRET: ${{ secrets.GITHUB_TOKEN }}).

Thanks again for the pull request, @poikilotherm

@kcondon like pull request #7944 this one should be safe to merge without any real testing. We just want to see if https://coveralls.io/github/IQSS/dataverse starts updating automatically again or not afterwards.

@kcondon kcondon self-assigned this Jun 30, 2021
@kcondon kcondon merged commit e27cf51 into IQSS:develop Jun 30, 2021
@djbrooke djbrooke added this to the 5.6 milestone Jun 30, 2021
@poikilotherm
Copy link
Contributor Author

Thanks for merging @kcondon ! 😄

@poikilotherm poikilotherm deleted the 7977-fix-coveralls branch June 30, 2021 16:12
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.

Maven Unit Tests failing (new Coveralls check in GitHub Actions)
4 participants