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

christophevg / schema-tools / 35984272565
73%

Build:
DEFAULT BRANCH: master
Ran 24 Sep 2026 09:56AM UTC
Jobs 1
Files 20
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

24 Sep 2026 09:50AM UTC coverage: 72.664% (+2.2%) from 70.448%
35984272565

push

github

christophevg-agent
feat: current() support for cross-element joins in Schematron asserts

FR-3 from bpmn-tools Phase 3.5:

- new `current()` function in functions.py implementing XSLT semantics:
  inside an assert test it returns the node the rule context matched
  (NOT the dynamic context item, which changes inside predicates),
  enabling joins plain XPath cannot express (e.g. a bpmn:messageFlow
  joining back to the bpmn:process ancestor of the node its targetRef
  names)
- mechanism: thread-local stash set by Schematron.validate() around each
  assert evaluation (set_current_context / finally-cleared); without a
  stash binding, current() falls back to the evaluation context item
  (equivalent to `.` at top level, harmless outside validation)
- node returns wrapped in elementpath EtreeElementNode so results work
  in path steps and predicates (raw Elements break with XPTY0019)
- tests: bpmn-shaped cross-element join (messageFlow -> process via
  targetRef), context-item fallback, bare-call behavior

🤖 Implemented together with Yoker

287 of 402 branches covered (71.39%)

Branch coverage included in aggregate %.

17 of 18 new or added lines in 2 files covered. (94.44%)

32 existing lines in 1 file now uncovered.

965 of 1321 relevant lines covered (73.05%)

0.73 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
41.78
8.18% src/schema_tools/schema/schematron/functions.py

Coverage Regressions

Lines Coverage ∆ File
32
78.78
14.41% src/schema_tools/schema/schematron/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 35984272565.1 24 Sep 2026 09:56AM UTC 20
72.66
GitHub Action Run
Source Files on build 35984272565
  • Tree
  • List 20
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #35984272565
  • 9eb26339 on github
  • Prev Build on master (#35977676268)
  • Next Build on master (#35987586510)
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