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

kobotoolbox / kpi / 15181398340
81%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1257-remove-v1-forms-endpoint
DEFAULT BRANCH: master
Ran 22 May 2025 09:36AM UTC
Jobs 2
Files 654
Run time 2min
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

22 May 2025 08:07AM UTC coverage: 80.997%. Remained the same
15181398340

push

github

web-flow
ci(chromatic): run tests daily DEV-103 (#5781)

### 📣 Summary

Once a day run Chromatic visual tests to verify we don't have unwanted
changes.

### 💭 Notes

Changes here:
- Added CI file for daily run of Chromatic
- Changed npm scripts for Chromatic usage

The `actions/checkout@v4` is forced to use `main` branch (and its latest
commit), so that we can obtain commit title and sha correctly. The
chromatic build fails ATM because it lacks npm script (added in this PR,
not present on `main`). It will work (🤞) as soon as we merge the PR :)

The workflow with Chromatic is:
1. Push some commit
2. See CI fails on Chromatic
3. Go to https://www.chromatic.com/builds?appId=682744cb1774e12b2cb1b0a2
4. Review changes
   1. If the changes are good (e.g. improving a component)
      1. **accept** them in Chromatic UI
      2. re-run failed CI job
      3. see that it succeeded
   2. If the changes are bad (e.g. introduced unwanted visual change)
      1. **deny** them in Chromatic UI
      2. fix the issue
      3. push a commit
      4. see that CI job suceeded

### 👀 Preview steps

To test it fully comment out `ref: "main"` from "Run Chromatic test"
job. Then the commit title and url would come from `main` branch, and
the chromatic build would be done on the PR branch.

Testing:
1. add `on: pull_request` to `.github/workflows/ci-daily.yml`
6. push a commit
7. 🟢 notice that the CI passes
8. change one of the components with stories so that it would look
different (e.g. add some padding)
9. push a commit
10. 🟢 notice that the CI fails
11. see failed build at
https://www.chromatic.com/builds?appId=682744cb1774e12b2cb1b0a2

---------

Co-authored-by: Akuukis <Akuukis@users.noreply.github.com>

6255 of 9922 branches covered (63.04%)

23847 of 29442 relevant lines covered (81.0%)

1.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 15181398340.1 22 May 2025 09:36AM UTC 654
78.91
2 15181398340.2 22 May 2025 09:41AM UTC 654
80.98
Source Files on build 15181398340
  • Tree
  • List 654
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 53fc8c1a on github
  • Prev Build on main (#15162346322)
  • Next Build on main (#15183109836)
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

© 2025 Coveralls, Inc