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

Make task all run only unit tests #3023

Merged
merged 4 commits into from
Jul 11, 2023
Merged

Make task all run only unit tests #3023

merged 4 commits into from
Jul 11, 2023

Conversation

AlekSi
Copy link
Member

@AlekSi AlekSi commented Jul 10, 2023

Description

To make the PR template match reality.

For everyone to review.

Readiness checklist

  • I added/updated unit tests.
  • I added/updated integration/compatibility tests.
  • I added/updated comments and checked rendering.
  • I made spot refactorings.
  • I updated user documentation.
  • I ran task all, and it passed.
  • I ensured that PR title is good enough for the changelog.
  • (for maintainers only) I set Reviewers (@FerretDB/core), Labels, Project and project's Sprint fields.
  • I marked all done items in this checklist.

@AlekSi AlekSi added project Project maintenance do not merge PRs that should not be merged labels Jul 10, 2023
@AlekSi AlekSi added this to the Next milestone Jul 10, 2023
@AlekSi AlekSi self-assigned this Jul 10, 2023
@AlekSi AlekSi requested a review from a team as a code owner July 10, 2023 15:50
@AlekSi AlekSi requested review from rumyantseva and chilagrow July 10, 2023 15:50
@AlekSi AlekSi enabled auto-merge (squash) July 10, 2023 15:50
@AlekSi AlekSi requested review from a team, quasilyte and noisersup July 10, 2023 15:51
@codecov
Copy link

codecov bot commented Jul 10, 2023

Codecov Report

Merging #3023 (67e9cbe) into main (c31e595) will decrease coverage by 50.40%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #3023       +/-   ##
===========================================
- Coverage   76.15%   25.76%   -50.40%     
===========================================
  Files         385      385               
  Lines       21045    21045               
===========================================
- Hits        16027     5422    -10605     
- Misses       4090    15096    +11006     
+ Partials      928      527      -401     
Impacted Files Coverage Δ
integration/setup/setup_compat.go 11.01% <ø> (-81.36%) ⬇️

... and 215 files with indirect coverage changes

Flag Coverage Δ
hana ?
integration 5.34% <ø> (-67.32%) ⬇️
mongodb 5.34% <ø> (ø)
pg ?
shard-1 5.34% <ø> (-49.88%) ⬇️
shard-2 ?
shard-3 ?
sqlite ?
unit 24.26% <ø> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Copy link
Member

@noisersup noisersup left a comment

Choose a reason for hiding this comment

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

I'm not sure if "all" is relevant here, as we skip the most important tests from all task "stages". Can't we leave task all as it is, but introduce a different task that would be also a default task?

It might be also good for us to tell contributors to use task in place of task xxx as we'll be able to just change the default task if we fix integration tests.

@AlekSi
Copy link
Member Author

AlekSi commented Jul 10, 2023

How to call this new target?

@noisersup noisersup self-requested a review July 10, 2023 16:00
Copy link
Member

@noisersup noisersup left a comment

Choose a reason for hiding this comment

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

Yeah.... I guess all is the most universal and used. LGTM :)

Copy link
Contributor

@rumyantseva rumyantseva left a comment

Choose a reason for hiding this comment

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

LGTM

@AlekSi AlekSi added the not ready Issues that are not ready to be worked on; PRs that should skip CI label Jul 10, 2023
@AlekSi
Copy link
Member Author

AlekSi commented Jul 10, 2023

To pause Mergify for now

@AlekSi AlekSi removed not ready Issues that are not ready to be worked on; PRs that should skip CI do not merge PRs that should not be merged labels Jul 11, 2023
@AlekSi AlekSi merged commit db7fecf into FerretDB:main Jul 11, 2023
@AlekSi AlekSi deleted the task-all branch July 11, 2023 07:38
@quasilyte
Copy link
Contributor

Yay, I've been waiting for this for two years now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project Project maintenance
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

5 participants