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

kobotoolbox / kpi / 26579644119
82%
master: 76%

Build:
Build:
LAST BUILD BRANCH: dev-1680-usernames
DEFAULT BRANCH: master
Ran 28 May 2026 02:09PM UTC
Jobs 10
Files 916
Run time 3min
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

28 May 2026 02:04PM UTC coverage: 82.033% (-0.003%) from 82.036%
26579644119

push

github

web-flow
ci(openapi): fail CI job on drf-spectacular error DEV-2135 DEV-2182 (#7097)

### 💭 Notes

Note for myself: when a command is put inside an `if` condition, Bash
temporarily suspends `set -e`. It assumes you are manually handling the
failure.

### 👀 Preview steps

See the
[job](https://github.com/kobotoolbox/kpi/actions/runs/25922120403/job/76193612232?pr=7026)
of actual unhandled failure here at
https://github.com/kobotoolbox/kpi/pull/7026:
> Locally, this script is expected to be run from a container, for
example like this:
   cd kobo-install
   ./run.py -cf run --rm kpi ./scripts/generate_api.sh
Enabling Stripe for schema generation…
Stripe enabled: true
Generating v2 OpenAPI JSON schema with drf-spectacular…
Traceback (most recent call last):
File
"/opt/hostedtoolcache/Python/3.12.13/x64/lib/python3.12/site-packages/constance/base.py",
line 123, in __getattr__
    asyncio.get_running_loop()
RuntimeError: no running event loop

See the
[job](https://github.com/kobotoolbox/kpi/actions/runs/26575268831/job/78292784599?pr=7097)
of a WIP commit that fails and is handled, and job of this PR that
succeeds.

---------

Co-authored-by: Olivier Léger <olivierleger@gmail.com>

9237 of 12470 branches covered (74.07%)

30550 of 37241 relevant lines covered (82.03%)

5.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26579644119.1 28 May 2026 02:09PM UTC 912
52.0
2 26579644119.2 28 May 2026 02:09PM UTC 912
53.64
3 26579644119.3 28 May 2026 02:10PM UTC 914
53.23
4 26579644119.4 28 May 2026 02:10PM UTC 912
52.25
5 26579644119.5 28 May 2026 02:11PM UTC 914
54.89
6 26579644119.6 28 May 2026 02:11PM UTC 916
68.41
7 26579644119.7 28 May 2026 02:11PM UTC 912
59.46
8 26579644119.8 28 May 2026 02:12PM UTC 914
66.11
9 26579644119.9 28 May 2026 02:12PM UTC 914
53.6
10 26579644119.10 28 May 2026 02:13PM UTC 914
60.59
Source Files on build 26579644119
  • Tree
  • List 916
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 41525c57 on github
  • Prev Build on main (#26533852431)
  • Next Build on main (#26586211003)
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