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

[Merged by Bors] - Add bors to CI #1684

Closed
wants to merge 2 commits into from
Closed

[Merged by Bors] - Add bors to CI #1684

wants to merge 2 commits into from

Conversation

RageKnify
Copy link
Member

This Pull Request updates some of our CI config and adds config for bors.

It changes the following:

  • remove cargo check from CI (cargo test should be enough)
  • change back to cargo tarpaulin on Linux to get coverage information
  • simplify some of the CI steps' names
  • add workflow for bors
Working with bors

It's setup so that we need 2 approvals before we can merge like we discussed in Discord.

After the second approval we can write a comment with bors r+ so that the merge is tested.

bors will only run if test, rustfmt, clippy, examples and doc are all running error free in the PR's branch. It will then run them again in a staging branch that is the equivalent of merging the PR on main.

Another option we can consider is up_to_date_approvals, so that new commits make previous approvals not count.

The bors reference can be found here: https://bors.tech/documentation/

@RageKnify RageKnify added the github_actions Pull requests that update Github_actions code label Oct 23, 2021
@github-actions
Copy link

Test262 conformance changes:

Test result main count PR count difference
Total 86,464 86,464 0
Passed 39,459 39,459 0
Ignored 18,869 18,869 0
Failed 28,136 28,136 0
Panics 0 0 0
Conformance 45.64% 45.64% 0.00%

@codecov
Copy link

codecov bot commented Oct 23, 2021

Codecov Report

❗ No coverage uploaded for pull request base (main@b7858c1). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1684   +/-   ##
=======================================
  Coverage        ?   44.40%           
=======================================
  Files           ?      203           
  Lines           ?    20270           
  Branches        ?        0           
=======================================
  Hits            ?     9000           
  Misses          ?    11270           
  Partials        ?        0           

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 b7858c1...b549d6f. Read the comment docs.

@Razican Razican added this to the v0.14.0 milestone Oct 23, 2021
Copy link
Member

@Razican Razican left a comment

Choose a reason for hiding this comment

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

Looks perfect :)

@RageKnify
Copy link
Member Author

bors r+

bors bot pushed a commit that referenced this pull request Oct 23, 2021
This Pull Request updates some of our CI config and adds config for bors.


It changes the following:

- remove `cargo check` from CI (`cargo test` should be enough)
- change back to `cargo tarpaulin` on Linux to get coverage information 
- simplify some of the CI steps' names
- add workflow for bors

##### Working with bors

It's setup so that we need 2 approvals before we can merge like we discussed in Discord.

After the second approval we can write a comment with `bors r+` so that the merge is tested.

bors will only run if `test`, `rustfmt`, `clippy`, `examples` and `doc` are all running error free in the PR's branch. It will then run them again in a `staging` branch that is the equivalent of merging the PR on `main`.

Another option we can consider is `up_to_date_approvals`, so that new commits make previous approvals not count.

The bors reference can be found here: https://bors.tech/documentation/
@bors
Copy link

bors bot commented Oct 23, 2021

Pull request successfully merged into main.

Build succeeded:

@bors bors bot changed the title Add bors to CI [Merged by Bors] - Add bors to CI Oct 23, 2021
@bors bors bot closed this Oct 23, 2021
@bors bors bot deleted the chore/ci-bors branch October 23, 2021 22:58
@Razican Razican added the hacktoberfest-accepted PR accepted for Hacktoberfest label Oct 30, 2021
@RageKnify RageKnify added the Internal Category for changelog label Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update Github_actions code hacktoberfest-accepted PR accepted for Hacktoberfest Internal Category for changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants