tests/release: replace submodules with version-pinned conformance fetch; adopt v0.0.1#24
Merged
Conversation
…ch; adopt v0.0.1 Drop both git submodules. The conformance suite is fetched from fruwehq/harel-conformance at the release tag matching this package's version (falling back to main until the tag exists) into a gitignored .cache/ by a pytest fixture; HAREL_CONFORMANCE_DIR overrides with a local checkout for offline work. The schema-drift test fetches the spec schema by raw URL (HAREL_SPEC_DIR override), skipping when offline. Set the synchronized version to 0.0.1 and declare the implemented spec version in the README. CI no longer checks out submodules. Closes #20.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #20.
Removes the git submodules (which have been painful) in favor of fetching the public conformance repo at the matching release tag.
Changes
vendor/harel,vendor/harel-conformance,.gitmodules).tests/conftest.py) clonesfruwehq/harel-conformanceatv<version>(falls back tomainuntil the tag exists) into a gitignored.cache/, reused across runs.HAREL_CONFORMANCE_DIRoverrides with a local checkout for offline work; if the suite can't be obtained, conformance tests skip instead of erroring.harel's schema at the matching tag by raw URL (HAREL_SPEC_DIRoverride), skipping when offline.0.0.1(the synchronized version across all fruwehq harel repos); README declares "implements the harel spec v0.0.1."Verified
Clean
.cacheremoved, thenpytestre-cloned the suite and ran 137 tests green (incl. the URL-fetched schema-drift check); ruff + mypy clean.