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

Restore coverage publishing #516

Merged
merged 17 commits into from
Feb 22, 2024
Merged

Conversation

NataliaDSmirnova
Copy link
Collaborator

@NataliaDSmirnova NataliaDSmirnova commented Feb 20, 2024

Description

  • Restore coverage gathering over packages
  • Publish coverage on coveralls.io
  • Remove coveralls package because publication is done via application (note : coveralls removing fixes json-schema vulnerability https://github.com/epam/miew/security/dependabot/114)
  • Update also lcov-result-merger, mkdirp, rimraf

Type of changes

  • Dependency update (non-breaking change that updates third-party packages)
  • Bug fix (non-breaking change that fixes an issue)

Checklist

  • I have read CONTRIBUTING and CODE_OF_CONDUCT guides.
  • I have followed the code style of this project.
  • I have run yarn run ci: lint and tests pass locally with my changes.
  • I have added tests that prove my fix/feature works OR The changes do not require updated tests.
  • I have added the necessary documentation OR The changes do not require updated docs.

Copy link
Member

@paulsmirnov paulsmirnov left a comment

Choose a reason for hiding this comment

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

Great job! I see the results at https://coveralls.io/jobs/136529785
Could you please check if we need to address my comments?

run: yarn run merge-cover

- name: Coveralls
if: matrix.node == '20'
Copy link
Member

Choose a reason for hiding this comment

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

The CI script runs twice, on push and PR. It uploads the coverage twice. Could we do it only once, on push?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch 😉
I limited publishing only for 'push' event.

package.json Outdated Show resolved Hide resolved
@NataliaDSmirnova NataliaDSmirnova changed the title Update critical dependencies Restore coverage publications Feb 22, 2024
@NataliaDSmirnova NataliaDSmirnova changed the title Restore coverage publications Restore coverage publication Feb 22, 2024
@NataliaDSmirnova NataliaDSmirnova changed the title Restore coverage publication Restore coverage publishing Feb 22, 2024
Copy link
Member

@paulsmirnov paulsmirnov left a comment

Choose a reason for hiding this comment

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

Thanks

@NataliaDSmirnova NataliaDSmirnova merged commit 6c2effc into main Feb 22, 2024
4 checks passed
@NataliaDSmirnova NataliaDSmirnova deleted the update-critical-dependencies branch February 22, 2024 02:21
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.

None yet

2 participants