ci(5): run the Job tester (jote) against every job submodule#6
Merged
Conversation
Add a GitHub Actions workflow that runs 'jote --dry-run' against every manifest in each job-based submodule (virtual-screening, squonk2-cdk, squonk2-chemaxon, squonk2-fragmenstein, squonk2-jaqpot, squonk2-smartcyp). A dry-run validates the Job Definition and Manifest files against the decoder schemas and lint rules without executing any tests or containers. Manifests are auto-discovered by globbing data-manager/manifest*.yaml, and each repository is a separate matrix leg (fail-fast disabled) so one non-compliant repository does not mask the others. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Install im-jote at the version set by the workflow-level JOTE_VERSION variable (default 0.12.0) so the check is reproducible and can be moved in one place. Bump actions/checkout to v7 and actions/setup-python to v6. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0.13.0 fixes the docker-compose probe on --dry-run (InformaticsMatters/squonk2-data-manager-job-tester#10), removing the transient flake on job repositories that have tests. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Fixes #5
What this adds
A GitHub Actions workflow (
.github/workflows/test-jobs.yaml) that runs the Job Tester (jote) against every job-based submodule using its--dry-runoption — validating the Job Definition and Manifest files against the decoder schemas (and lint rules) without executing any tests or containers.virtual-screening,squonk2-cdk,squonk2-chemaxon,squonk2-fragmenstein,squonk2-jaqpot,squonk2-smartcyp.fail-fast: falseso one repo's failure doesn't mask the others.data-manager/manifest*.yaml, so new manifests are picked up without editing the workflow.joteis installed fresh from PyPI (im-jote) so the check always reflects the current tester and schemas. Run with--dry-run --allow-no-teststo keep it a pure definition/schema check.main, all PRs, weekly schedule, and manual dispatch.Expected result: virtual-screening is red
As requested, no manifests are excluded.
virtual-screeningwill fail becausemanifest-moldb.yaml→moldb.yamlusesmaxValue/minValueproperties the (deliberately incomplete) decoder schema rejects:virtual-screening's own CI currently side-steps this by omitting
moldb; this workflow surfaces it instead. The other five repositories pass. Fixing it means either extending the decoder schema to cover these properties or correctingmoldb.yaml— a separate piece of work.Verification
Ran the exact per-repo step logic locally with
im-joteagainst all six submodules:virtual-screening → exit 1(moldb), the other five →exit 0. Workflow YAML parses cleanly.🤖 Generated with Claude Code