Open cmungall opened 2 years ago
Is this still an outstanding issue? If so, what needs to be done? All PRs linked to this thread seem merged or closed.
Right now we have two tests:
Neither of these are comprehensive - the first basically makes sure the schema can be build, the second checks on a small set of test cases in the sssom repo if they are still valid or not - based on the latest version on PyPI rather than the version on the main
branch.
To finish this issue, we need to have a simply way to test the schema when changes are proposed. So basically, we need to:
I don't know @cmungall full vision on this. As we cannot use linkml convert to parse the TSV files, we may have to build a test suite of 5-10 mapping sets in JSON, and see if we can use linkml-convert
to parse them after the changes to the datamodel are proposed. It is worth though to raise this with him and see how he would suggest this to be done, as I assume this should be the exact same thing for all linkml projects.
We have one action to build products #95.
We should also have one that runs unit tests, should just be
make test
Example https://github.com/linkml/linkml-model/blob/main/.github/workflows/pr-test.yaml
Also consider: https://github.com/linkml/linkml-model/blob/main/.github/workflows/pypi-publish.yaml
EDIT (by @matentzn):
We need to make sure that when running a pull request, the sssom toolkit is installed along with a _local version of the sssomschema data classes.