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

openego / eDisGo / 39915049878
87%

Build:
DEFAULT BRANCH: dev
Ran 23 Oct 2026 07:34AM UTC
Jobs 1
Files 67
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

23 Oct 2026 07:00AM UTC coverage: 85.836%. Remained the same
39915049878

push

github

web-flow
Add a Julia test suite for the OPF package eDisGo_OPF.jl (#799)

Add a test suite written in Julia for edisgo/opf/eDisGo_OPF.jl and a
GitHub Actions workflow that runs it.

- test/runtests.jl is the entry point (`julia --project=. -e 'using Pkg;
  Pkg.test()'` from eDisGo_OPF.jl). A subset can be selected by command
  line argument or via EDISGO_OPF_TESTS.
- The test layout mirrors src/: src/<dir>/<name>.jl is tested by
  test/<dir>/test_<name>.jl. All 84 functions and types are tested, and
  line coverage of src/ is 100 % (887 of 887 lines).
- Shared helpers live in test/testutils/TestUtils.jl. The test networks
  in test/data/ are generated from eDisGo by generate_fixtures.py.
- .github/workflows/julia-tests.yml runs the suite with Julia 1.12 and
  Ipopt on every push that changes the package, and fails if the line
  coverage of src/ drops below 100 % (test/coverage_report.jl). Tests
  that need Gurobi skip themselves without a licence.

Fix: eDisGo_OPF now logs through the PowerModels logger
(`const _LOGGER = PowerModels._LOGGER`). Before, every Memento.warn/error
call raised UndefVarError, so e.g. input without time_elapsed failed
instead of falling back to one hour per time step. _correct_bus_types!
now calls PowerModels._biggest_generator with the module prefix.

Production defects found while writing the tests are not fixed here.
The tests pin the current behaviour and mark the intended one with
@test_broken. The defects are tracked in #810 (sub-issues #800-#809)
and listed in test/FUNCTION_COVERAGE.md.

Part of #522

9793 of 11409 relevant lines covered (85.84%)

0.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39915049878.1 23 Oct 2026 07:34AM UTC 67
85.84
GitHub Action Run
Source Files on build 39915049878
  • Tree
  • List 67
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 12e021f2 on github
  • Prev Build on dev (#39778340686)
  • Next Build on dev (#39941972180)
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