Skip to content

feat: activate codecov in ci #3899

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

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
comment:
layout: "diff, flags, files"
behavior: new # deletes old comment and posts a new one
require_changes: false
require_changes: true

coverage:
status:
Expand Down
6 changes: 6 additions & 0 deletions packages/relay/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@
return gasPrice;
};

public static readonly testFunction = (gasPrice: number): number => {
gasPrice += Math.round((gasPrice / constants.TINYBAR_TO_WEIBAR_COEF) * 5644);

Check warning on line 34 in packages/relay/src/utils.ts

View check run for this annotation

Codecov / codecov/patch

packages/relay/src/utils.ts#L34

Added line #L34 was not covered by tests

return gasPrice;

Check warning on line 36 in packages/relay/src/utils.ts

View check run for this annotation

Codecov / codecov/patch

packages/relay/src/utils.ts#L36

Added line #L36 was not covered by tests
};

/**
* @param operatorMainKey
* @returns PrivateKey
Expand Down
Loading