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

Add linter to CI pipeline #844

Merged
merged 48 commits into from
Jun 29, 2022
Merged

Add linter to CI pipeline #844

merged 48 commits into from
Jun 29, 2022

Conversation

begmaroman
Copy link
Contributor

@begmaroman begmaroman commented Jun 22, 2022

  • Added linter to CI pipeline
  • Fixed all linter nits in the code

@begmaroman begmaroman self-assigned this Jun 22, 2022
@codecov-commenter
Copy link

codecov-commenter commented Jun 22, 2022

Codecov Report

Merging #844 (e92b201) into develop (bcec282) will increase coverage by 1.79%.
The diff coverage is 64.31%.

@@             Coverage Diff             @@
##           develop     #844      +/-   ##
===========================================
+ Coverage    73.82%   75.61%   +1.79%     
===========================================
  Files           49       49              
  Lines         5348     5282      -66     
===========================================
+ Hits          3948     3994      +46     
+ Misses        1170     1055     -115     
- Partials       230      233       +3     
Impacted Files Coverage Δ
auth/querier.go 79.31% <ø> (ø)
chainmanager/querier.go 76.92% <ø> (ø)
clerk/genesis.go 75.00% <ø> (ø)
staking/handler.go 68.93% <ø> (-0.60%) ⬇️
topup/genesis.go 75.00% <ø> (ø)
sidechannel/keeper.go 86.95% <10.00%> (-7.96%) ⬇️
app/state.go 42.42% <22.22%> (-1.20%) ⬇️
staking/keeper.go 66.66% <23.07%> (-1.10%) ⬇️
checkpoint/module.go 33.60% <33.33%> (-0.01%) ⬇️
checkpoint/side_handler.go 70.84% <37.50%> (-1.43%) ⬇️
... and 36 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bcec282...e92b201. Read the comment docs.

@begmaroman begmaroman changed the title Improve CI pipelines Add linter to CI pipeline Jun 22, 2022
@cffls
Copy link
Contributor

cffls commented Jun 22, 2022

@begmaroman Could you hold this PR until we merge this one #842? 🙏 There will be many new changes coming from v0.3.0. It might be easier to lint everything after we merge everything from v0.3.0.

Copy link
Contributor

@temaniarpit27 temaniarpit27 left a comment

Choose a reason for hiding this comment

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

Approving because can't review 212 files

@begmaroman begmaroman requested a review from JekaMas June 28, 2022 13:12
Copy link
Contributor

@JekaMas JekaMas left a comment

Choose a reason for hiding this comment

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

We need to test it very carefully.

@cffls
Copy link
Contributor

cffls commented Jun 28, 2022

Looks like integration tests are failing. Could you check the logs and see why it failed?

@begmaroman
Copy link
Contributor Author

@cffls fixed

@begmaroman begmaroman merged commit 5cabe26 into develop Jun 29, 2022
@begmaroman begmaroman deleted the feature/adjust-ci-pipeline branch June 29, 2022 12:47
cffls pushed a commit to cffls/heimdall that referenced this pull request Aug 3, 2022
cffls pushed a commit that referenced this pull request Aug 4, 2022
manav2401 added a commit that referenced this pull request Sep 22, 2022
* task delay change

* fix

* add checks in clu

* remove cli checks

* add testcase

* Set default max number of open files for heimdall service

* Add 'heimdall' user during package installation

* Fixed helper.UnpackLog function call in the self-healing process (#853)

* Add linter to CI pipeline  (#844)

* Remove dependency on mainnet.toml and mumbai.toml

In new CLI, a single binary should work for both mainnet and testnet. This change will remove the dependency on
mainnet.toml and mumbai.toml in build time so we won't need to build two different binaries for each network.

* fix: remove duplicate import

Co-authored-by: Arpit Temani <temaniarpit27@gmail.com>
Co-authored-by: Jerry <jerrycgh@gmail.com>
Co-authored-by: Roman Behma <13855864+begmaroman@users.noreply.github.com>
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.

5 participants