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

sgerrand / ex_bamboo_hr / 35434176119
100%

Build:
DEFAULT BRANCH: main
Ran 19 Sep 2026 09:15AM UTC
Jobs 1
Files 18
Run time 1min
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

19 Sep 2026 09:15AM UTC coverage: 100.0%. Remained the same
35434176119

push

github

web-flow
feat(breaks): add the meal and rest break endpoints (#114)

* feat(breaks): add the meal and rest break endpoints

Covers break policies, the breaks belonging to them, employee
assignment, the per-employee views, and compliance assessments.

These live under /time-tracking/ but get their own module rather than
being added to BambooHR.TimeTracking: they are a separate resource tree,
their IDs are UUID strings rather than integers, and they page with
offset and limit where clock and hour entries page with page and
pageSize. Mixing all three in one module would make the differences easy
to miss.

Two pairs of endpoints look alike and are named to keep them apart:
update_policy/3 patches the fields given, while sync_policy/3 replaces
the policy along with its breaks and assignments; assign_employees/3
adds to the assignment list, while set_employees/3 replaces it.

* fix(breaks): send :effective as a zoneless ISO 8601 date-time

BambooHR requires effective to match YYYY-MM-DDTHH:MM:SS. The docs and
test used a bare date, which the API rejects with a 422. Convert Date
and NaiveDateTime values to that form, since Req would render a
NaiveDateTime with a space instead of the T.

* docs(breaks): match example responses to BambooHR's spec

replace_policy_breaks/3 and list_employee_break_availabilities/3 return
a bare list, not a "data" wrapper. get_policy_suggestions/2 returns
"suggestedPolicies", with id, title and breaks on each item. Update the
examples and test fixtures to match.

* fix(breaks): accept a DateTime for :effective

Req renders a DateTime with a space and an offset, which BambooHR
rejects with a 422. Drop the zone and send the local clock time in the
YYYY-MM-DDTHH:MM:SS form the spec requires.

* test(client): ignore other tests' telemetry in the bad-error test

The handler forwarded every [:bamboo_hr, :request, :stop] event, so a
stop from another async test could arrive first and fail the reason
assertion. Use forward_telemetry/4, which only ... (continued)

26 of 26 new or added lines in 1 file covered. (100.0%)

282 of 282 relevant lines covered (100.0%)

41.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 35434176119.1 19 Sep 2026 09:15AM UTC 18
100.0
GitHub Action Run
Source Files on build 35434176119
  • Tree
  • List 18
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35434176119
  • a5c7913b on github
  • Prev Build on main (#35432967332)
  • Next Build on main (#36167665581)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc