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

openego / eDisGo / 39612138407
87%

Build:
DEFAULT BRANCH: dev
Ran 21 Oct 2026 02:45PM UTC
Jobs 1
Files 68
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

21 Oct 2026 01:54PM UTC coverage: 84.173% (-0.01%) from 84.183%
39612138407

push

github

web-flow
Decouple the regular test suite from live OEP access (#754)

Only the coverage job still accesses the live OEP, so each branch holds at most
one OEP connection and the workflow queue is no longer needed.

- Mark the tests that intentionally access the live OEP with
  `pytest.mark.oep`. They get their engine from a lazy `oep_engine`
  fixture instead of the global `pytest.engine`.
- Add a runtime guard to conftest.py that fails any unmarked test that
  connects to the OEP and names the test.
- Run the processing and integration tests offline, with minimal
  synthetic data and mocks only at the query helpers (`_query_*`).
  Post-processing such as kW to MW conversion, carrier renaming and
  subtype assignment moves out of the helpers, so the offline tests
  cover it.
- Keep small live contract tests for the OEP queries, with a limit on
  the number of rows they fetch. The OEP notebooks remain slow live
  smoke tests.
- Legacy grids keep using the legacy OEP connection even when a caller
  passes an eGon engine.
- CI: the three basic jobs run `-m "not oep"` without an OEP token. The
  coverage job runs the full suite with the token. Remove the queue job
  and add job timeouts.
- Document the test strategy in tests/README.md, tests/data/oep/ and
  doc/contributing.rst.

Fixes #739
Remaining review points: #794

Co-authored-by: Jonas Danke <jonas.danke@rl-institut.de>

258 of 284 new or added lines in 7 files covered. (90.85%)

13 existing lines in 4 files now uncovered.

9727 of 11556 relevant lines covered (84.17%)

0.84 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
92.44
-2.62% edisgo/io/timeseries_import.py
6
89.6
0.52% edisgo/io/generators_import.py
2
97.22
-1.37% edisgo/io/dsm_import.py
2
98.35
4.12% edisgo/io/heat_pump_import.py

Coverage Regressions

Lines Coverage ∆ File
5
93.47
-0.6% edisgo/network/topology.py
4
92.44
-2.62% edisgo/io/timeseries_import.py
3
88.95
-0.79% edisgo/tools/tools.py
1
78.28
-0.13% edisgo/edisgo.py
Jobs
ID Job ID Ran Files Coverage
1 39612138407.1 21 Oct 2026 02:45PM UTC 68
84.17
GitHub Action Run
Source Files on build 39612138407
  • Tree
  • List 68
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0c609317 on github
  • Prev Build on dev (#39595681722)
  • Next Build on dev (#39632084177)
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