Skip to content

test(example-runner): add closed/not-closed support#3626

Open
noelmcloughlin wants to merge 1 commit into
linkml:mainfrom
noelmcloughlin:closed1
Open

test(example-runner): add closed/not-closed support#3626
noelmcloughlin wants to merge 1 commit into
linkml:mainfrom
noelmcloughlin:closed1

Conversation

@noelmcloughlin

Copy link
Copy Markdown
Contributor

Summary

Fixes #3625

  • introduces --closed | --not-closed support as optional argument

How was this tested?

  • full local test suite
  • added some basic unit tests

Areas of uncertainty

linkml-validate uses --no-closed and jsonshcemagen / test_gen_json_schema have '--not-closed`. This is inconsistent so picked latter form.

Checklist

  • My code follows the contributor guidelines
  • I have added tests that prove my fix/feature works
  • Existing tests pass locally with my changes

AI Assistance

LLM assisted

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.45455% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 83.83%. Comparing base (195f07d) to head (312c953).

Files with missing lines Patch % Lines
packages/linkml/src/linkml/validator/__init__.py 93.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3626      +/-   ##
==========================================
+ Coverage   80.43%   83.83%   +3.39%     
==========================================
  Files         158      158              
  Lines       19007    19027      +20     
  Branches     4004     4007       +3     
==========================================
+ Hits        15289    15952     +663     
+ Misses       2877     2187     -690     
- Partials      841      888      +47     
Flag Coverage Δ
linkml 80.44% <95.45%> (+0.01%) ⬆️
runtime 80.40% <95.45%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

run_examples.py - support closed / not-closed optional arguments

1 participant