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 GH action to do mypy check for patch #545

Merged
merged 2 commits into from
May 7, 2024
Merged

Conversation

JerrySentry
Copy link
Contributor

@JerrySentry JerrySentry commented May 7, 2024

Add mypy type checking in the GH CI. This does type checking for all files that are touched in the PR. This job runs at the same time the other main jobs run, however right now a failure on this does not block mergning (but it is encouraged to not fail the job), eventually it may start blocking merge to main.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@JerrySentry JerrySentry marked this pull request as ready for review May 7, 2024 14:41
@codecov-qa
Copy link

codecov-qa bot commented May 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.52%. Comparing base (dab39b5) to head (6256f57).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #545   +/-   ##
=======================================
  Coverage   91.52%   91.52%           
=======================================
  Files         602      602           
  Lines       16396    16396           
=======================================
  Hits        15006    15006           
  Misses       1390     1390           
Flag Coverage Δ
unit 91.52% <ø> (ø)
unit-latest-uploader 91.52% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

codecov bot commented May 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.79%. Comparing base (dab39b5) to head (6256f57).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #545   +/-   ##
=====================================
  Coverage   95.79   95.79           
=====================================
  Files        777     777           
  Lines      17252   17252           
=====================================
  Hits       16525   16525           
  Misses       727     727           
Flag Coverage Δ
unit 91.52% <ø> (ø)
unit-latest-uploader 91.52% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

jobs:
patch-typing-check:
name: Run Patch Type Check
uses: codecov/gha-workflows/.github/workflows/mypy.yml@may_06_mypy
Copy link
Contributor Author

Choose a reason for hiding this comment

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

TODO: change the pinned version once the gha-workflows PR is merged and a new release is created

@codecov-notifications
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@JerrySentry JerrySentry enabled auto-merge May 7, 2024 19:32
@JerrySentry JerrySentry added this pull request to the merge queue May 7, 2024
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (dab39b5) 91.52% compared to head (6256f57) 91.52%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #545   +/-   ##
=======================================
  Coverage   91.52%   91.52%           
=======================================
  Files         602      602           
  Lines       16396    16396           
=======================================
  Hits        15006    15006           
  Misses       1390     1390           
Flag Coverage Δ
unit 91.52% <ø> (ø)
unit-latest-uploader 91.52% <ø> (ø)

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

Impacted file tree graph

Merged via the queue into main with commit c5af1a4 May 7, 2024
23 checks passed
@JerrySentry JerrySentry deleted the may_07_gha_mypy branch May 7, 2024 20:33
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.

3 participants