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

ci: add new workflow for make test-short (backport #2367) #2379

Merged
merged 4 commits into from
Oct 6, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Aug 28, 2023

This is an automatic backport of pull request #2367 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

<!--
Please read and fill out this form before submitting your PR.

Please make sure you have reviewed our contributors guide before
submitting your
first PR.
-->

## Overview
Closes: #2361

Changes:
- Add a CI workflow for make test-short

**NOTE:** The timeout in the issue was 60s but as the actual run take
around 6mins (on my fork repo), so I add time out 10 mins for make
test-short step at the beginning

Trial run successfully:
- See:
https://github.com/tungbq/celestia-app/actions/runs/5988912031/job/16244574169?pr=5
<!--
Please provide an explanation of the PR, including the appropriate
context,
background, goal, and rationale. If there is an issue with this
information,
please provide a tl;dr and link the issue.
-->

## Checklist

<!--
Please complete the checklist to ensure that the PR is ready to be
reviewed.

IMPORTANT:
PRs should be left in Draft until the below checklist is completed.
-->

- [ ] New and updated code has appropriate documentation
- [ ] New and updated code has new and/or updated testing
- [ ] Required CI checks are passing
- [ ] Visual proof for any user facing features like CLI or
documentation updates
- [x] Linked issues closed with keywords

(cherry picked from commit 0d1750a)
@github-actions github-actions bot added the bot item was created by a bot label Aug 28, 2023
@celestia-bot celestia-bot requested a review from a team August 28, 2023 20:20
@codecov-commenter
Copy link

Codecov Report

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

@@           Coverage Diff           @@
##             v1.x    #2379   +/-   ##
=======================================
  Coverage        ?   20.55%           
=======================================
  Files           ?      138           
  Lines           ?    15736           
  Branches        ?        0           
=======================================
  Hits            ?     3235           
  Misses          ?    12194           
  Partials        ?      307           

rootulp
rootulp previously approved these changes Aug 28, 2023
@rootulp
Copy link
Collaborator

rootulp commented Aug 28, 2023

@rootulp rootulp marked this pull request as draft August 28, 2023 20:51
@rootulp
Copy link
Collaborator

rootulp commented Aug 30, 2023

Closing this b/c v1.x still runs txsim tests in short mode which result in a timeout

FAIL	github.com/celestiaorg/celestia-app/test/txsim	60.871s

In retrospect, it would've been nice if we always backported PRs that targeted main to v1.x if they could be backported.

@rootulp rootulp closed this Aug 30, 2023
@mergify mergify bot deleted the mergify/bp/v1.x/pr-2367 branch August 30, 2023 15:18
@rootulp rootulp restored the mergify/bp/v1.x/pr-2367 branch October 6, 2023 19:47
@rootulp rootulp reopened this Oct 6, 2023
@rootulp rootulp self-assigned this Oct 6, 2023
@rootulp rootulp added this to the Mainnet milestone Oct 6, 2023
@rootulp rootulp marked this pull request as ready for review October 6, 2023 19:55
@rootulp
Copy link
Collaborator

rootulp commented Oct 6, 2023

After this merges, we should make test-short a Required check via branch protection rules for release branches.

@rootulp rootulp enabled auto-merge (squash) October 6, 2023 21:03
@rootulp rootulp merged commit dd4b1c1 into v1.x Oct 6, 2023
23 of 24 checks passed
@rootulp rootulp deleted the mergify/bp/v1.x/pr-2367 branch October 6, 2023 21:03
@rootulp
Copy link
Collaborator

rootulp commented Oct 6, 2023

I just added test-short as a Required check on release branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot item was created by a bot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants