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

FlexMeasures / flexmeasures-client / 28551102362
96%

Build:
DEFAULT BRANCH: main
Ran 01 Jul 2026 10:12PM UTC
Jobs 3
Files 5
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

01 Jul 2026 10:11PM UTC coverage: 96.359%. Remained the same
28551102362

push

github

web-flow
Make HEMS report generation dockerizable + fix false-negative on async uploads (#216)

* feat(HEMS): allow overriding the CLI command used for report generation

The HEMS tutorial's report-generation step shells out to a bare
`flexmeasures` on PATH, which only works if that CLI is configured
against the same database as the server being scripted against.
Add FLEXMEASURES_CLI_CMD and FLEXMEASURES_CLI_CONFIG_DIR env vars so
callers can point report generation at a `flexmeasures` running
elsewhere, e.g. inside a Docker Compose service
(`docker compose exec -T server flexmeasures`), which unblocks
running this step as part of automated release QA.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

* fix: treat any 2xx status as success for sensor data file upload

_post_sensor_data_file() hardcoded `status != 200` as the failure
condition, but the sensors/<id>/data/upload endpoint can legitimately
return 202 Accepted when the server processes the upload as an async
job. This made every file upload look like a failure whenever the
server queues the work, which is what silently broke the HEMS
tutorial's data-loading step (PART 2) before it ever reached
forecasting/scheduling/reporting.

Match check_for_status()'s existing convention elsewhere in this
client: accept any 2xx, only raise on a genuine non-2xx status.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>

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

688 of 714 relevant lines covered (96.36%)

2.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ubuntu-latest - py3.10 - 28551102362.1 01 Jul 2026 10:12PM UTC 5
96.36
GitHub Action Run
2 ubuntu-latest - py3.12 - 28551102362.2 01 Jul 2026 10:12PM UTC 5
96.36
GitHub Action Run
3 ubuntu-latest - py3.11 - 28551102362.3 01 Jul 2026 10:12PM UTC 5
96.36
GitHub Action Run
Source Files on build 28551102362
  • Tree
  • List 5
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28551102362
  • 8dc8a73e on github
  • Prev Build on main (#27628417507)
  • Delete
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