• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Khan / perseus / 5859434647
69%

Build:
DEFAULT BRANCH: main
Ran 14 Aug 2023 06:48PM UTC
Jobs 2
Files 528
Run time 24s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5859434647

push

github

web-flow
Prettier formatting check fix (#662)

## Summary:

In the first iteration of the Github check for source formatting, I was trying to use the Github action output format that allowed us to annotate the specific lines that were in violation (using `prettier --list-different | sed ...`).  This worked, but didn't fail the job because `sed` always returns `0` unless there's an execution error. 

So, instead of spending more time on that, I've reverted to the simpler `prettier --check` command which will print out failing files. Github won't annotate the specific lines in the PR, but I think that's not a big issue as the fix will pretty much always be to run `yarn format` in the PR nad commit the changes. 

Issue: "none"

## Test plan:

Introduce a formatting issue.
Push the commit. 
Check that the Github action fails. 
Fix the change. 
Push the commit. 
Check that the Github action passes.

Author: jeremywiebe

Reviewers: jeresig, #perseus, handeyeco

Required Reviewers:

Approved By: jeresig

Checks: ✅ gerald, ✅ finish_coverage, ⏭  Publish npm snapshot, ✅ Lint, Typecheck, Format, and Test (ubuntu-latest, 16.x), ✅ Extract i18n strings (ubuntu-latest, 16.x), ✅ Check for .changeset file (ubuntu-latest, 16.x), ✅ Check builds for changes in size (ubuntu-latest, 16.x), ✅ Cypress Coverage (ubuntu-latest, 16.x), ✅ Jest Coverage (ubuntu-latest, 16.x), ✅ gerald

Pull Request URL: https://github.com/Khan/perseus/pull/662

7687 of 16543 branches covered (46.47%)

Branch coverage included in aggregate %.

71015 of 96822 relevant lines covered (73.35%)

713.19 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 cypress 5859434647.1 14 Aug 2023 06:48PM UTC 0
26.37
GitHub Action Run
2 jest 5859434647.2 14 Aug 2023 06:57PM UTC 0
63.58
GitHub Action Run
Source Files on build 5859434647
Detailed source file information is not available for this build.
  • Back to Repo
  • 967ba2c5 on github
  • Prev Build on main (#5858414931)
  • Next Build on main (#5860557689)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc