You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI: Schema files are written to a path the tests don't read, so the schema tests always skip #637
The tests read them from ../schemas/, that is test/adapter/schemas, which is also the path .gitignore covers (L27). The files never reach the tests, so JsonSerializationSchemaTest and XMLSerializationSchemaTest skip their entire class on every run. That is the skipped=2 in a green run, e.g. run 35359692685 on develop:
Ran 267 tests in 1.599s
OK (skipped=2)
So no serialization has been validated against the official AAS schema in CI. Issue #636 is what that hid: the JSON serializer emits an array the schema rejects, and both schema tests catch it the moment the files land in the right directory.
Renaming the directory in the workflow is enough to make them run. Two things worth deciding beyond that:
The skip is silent. setUpClass skipping when the file is missing is right for a local run, but in CI it turns a missing schema into a green build. An env var that makes the absence fatal there would keep both.
test/adapter/schema vs schemas reads like a typo anyone can repeat. Pointing both the workflow and the tests at one constant, or having the test download the file itself, removes the coupling.
Happy to send the rename, and either of the other two if you want them.
Activity
CI: Write the AAS schemas where the tests read them (#639)
zrgt commentedon Oct 6, 2026
Fixed in #639