Skip to content

Replace Python validation scripts with npm test#66

Open
tgra wants to merge 3 commits intomainfrom
tgra/update-tests
Open

Replace Python validation scripts with npm test#66
tgra wants to merge 3 commits intomainfrom
tgra/update-tests

Conversation

@tgra
Copy link
Copy Markdown
Member

@tgra tgra commented May 8, 2026

  • Added test/shapes.test.js using Node's built-in node:test and n3 to replicate all three validation checks: Turtle syntax, required shape metadata (sh:name, dct:created, vs:term_status), and namespace/naming conventions

  • Added package.json (minimal — not for publishing) and package-lock.json

  • Deleted scripts/ directory and all Python scripts (pyshacl, rdflib, rich no longer required)

  • Updated CI workflows (main-pr-validation.yml, main-push-validation.yml) to use npm install + npm test instead of Python setup steps

  • Added .gitignore to exclude node_modules/

  • Updated CONTRIBUTING.md with npm test instructions and a summary of what each check validates

@tgra tgra requested review from jeswr and langsamu May 8, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant