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

Force coloured output unless explicitly disabled #1125

Merged
merged 1 commit into from
Sep 30, 2024
Merged

Conversation

prymitive
Copy link
Collaborator

Fixes #1106

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request was validated by pint.

✔️ No problems found

Stats

Stat Value
Version v0.65.1-63-gc5dcd86
Number of rules parsed 4
Number of rules checked 4
Number of problems found 0
Number of offline checks 0
Number of online checks 0
Checks duration 0

Problems

No problems reported

Copy link

Benchmark diff:

goos: linux
goarch: amd64
pkg: github.com/cloudflare/pint/cmd/pint
cpu: AMD EPYC 7763 64-Core Processor                
              │   old.txt   │              new.txt               │
              │   sec/op    │   sec/op     vs base               │
FindEntries-4   40.53m ± 2%   41.04m ± 1%  +1.26% (p=0.029 n=10)
CheckRules-4     8.513 ± 2%    8.516 ± 2%       ~ (p=0.853 n=10)
geomean         587.4m        591.2m       +0.64%

              │   old.txt    │               new.txt               │
              │     B/op     │     B/op      vs base               │
FindEntries-4   27.41Mi ± 0%   27.41Mi ± 0%       ~ (p=0.315 n=10)
CheckRules-4    976.1Mi ± 0%   975.3Mi ± 0%       ~ (p=0.481 n=10)
geomean         163.6Mi        163.5Mi       -0.04%

              │   old.txt   │              new.txt               │
              │  allocs/op  │  allocs/op   vs base               │
FindEntries-4   131.9k ± 0%   131.9k ± 0%       ~ (p=0.107 n=10)
CheckRules-4    14.19M ± 0%   14.19M ± 0%       ~ (p=0.315 n=10)
geomean         1.368M        1.368M       -0.01%

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.16%. Comparing base (adb0966) to head (c5dcd86).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1125   +/-   ##
=======================================
  Coverage   95.16%   95.16%           
=======================================
  Files         102      102           
  Lines       10233    10235    +2     
=======================================
+ Hits         9738     9740    +2     
  Misses        346      346           
  Partials      149      149           

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

@prymitive prymitive merged commit 2dc2098 into main Sep 30, 2024
21 checks passed
@prymitive prymitive deleted the issue-1106 branch September 30, 2024 15:40
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.

Colored output does not work correctly in Gitlab pipeline jobs
2 participants