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

chore: keep coverage directories in-place for test-initialize and test-migrate #1132

Merged
merged 1 commit into from
Dec 30, 2023

Conversation

JoshuaKGoldberg
Copy link
Owner

@JoshuaKGoldberg JoshuaKGoldberg commented Dec 30, 2023

PR Checklist

Overview

Keeps them running on ./coverage, then swaps that to ./coverage-* later in the workflow.

Comparing the performance of the two end-to-end test types from main (c06c62c):

Test Baseline Update Δ
initialize 1m 25s 1m 21s ~0% (near zero change)
migrate 2m 45s 30s 81% faster

Seems like this mostly improves migration. I guess initialization didn't have this bottleneck as badlly, and still runs the initialize script twice.

Copy link

codecov bot commented Dec 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c06c62c) 94.25% compared to head (1641f44) 94.25%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1132   +/-   ##
=======================================
  Coverage   94.25%   94.25%           
=======================================
  Files          97       97           
  Lines        5625     5625           
  Branches      454      454           
=======================================
  Hits         5302     5302           
  Misses        322      322           
  Partials        1        1           
Flag Coverage Δ
create 70.21% <ø> (ø)
initialize 42.15% <ø> (ø)
migrate 69.55% <ø> (ø)
unit 72.31% <ø> (ø)

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.

@JoshuaKGoldberg JoshuaKGoldberg merged commit df5941d into main Dec 30, 2023
19 checks passed
@JoshuaKGoldberg JoshuaKGoldberg deleted the e2e-coverage-in-place branch December 30, 2023 07:39
Copy link

🎉 This is included in version v1.50.1 🎉

The release is available on:

Cheers! 📦🚀

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.

🛠 Tooling: End-to-end migration test lint takes a long time on coverage-migrate/ files
1 participant