Skip to content

Add a CI job to test against the OFM test suite#280

Merged
rwb27 merged 6 commits intomainfrom
test-against-ofm
Mar 4, 2026
Merged

Add a CI job to test against the OFM test suite#280
rwb27 merged 6 commits intomainfrom
test-against-ofm

Conversation

@rwb27
Copy link
Collaborator

@rwb27 rwb27 commented Mar 3, 2026

This should help catch issues earlier - it means if modifications to OFM are needed, this will be flagged early.

It would be nice to keep an OFM branch that's updated with necessary changes for LabThings to work nicely, but this is unlikely to be an automatic thing. For now, I think just being able to check whether the current OFM codebase will work (unmodified) with changes being proposed to LabThings is already helpful.

This should help catch issues earlier - it means if modifications to OFM are needed, this will be flagged early.

It would be nice to keep an OFM branch that's updated with necessary changes for LabThings to work nicely, but this is unlikely to be an automatic thing. For now, I think just being able to check whether the current OFM codebase will work (unmodified) with changes being proposed to LabThings is already helpful.
@rwb27 rwb27 force-pushed the test-against-ofm branch from 8c6f39c to 7603763 Compare March 3, 2026 21:47
@barecheck
Copy link

barecheck bot commented Mar 3, 2026

Barecheck - Code coverage report

Total: 96.52%

Your code coverage diff: 0.00% ▴

✅ All code changes are covered

@rwb27 rwb27 force-pushed the test-against-ofm branch from db7c145 to 6afe322 Compare March 4, 2026 14:56
rwb27 added 2 commits March 4, 2026 14:59
This is needed for OFM unit tests.
@rwb27 rwb27 force-pushed the test-against-ofm branch from 8bb7c6f to 71dfd89 Compare March 4, 2026 15:27
This is required for the lifecycle test to complete.
@rwb27 rwb27 force-pushed the test-against-ofm branch from bc61ded to b586570 Compare March 4, 2026 20:31
@rwb27 rwb27 mentioned this pull request Mar 4, 2026
@rwb27
Copy link
Collaborator Author

rwb27 commented Mar 4, 2026

I'll squash and merge this - wouldn't have all those commits if I weren't testing CI!

Copy link
Contributor

@julianstirling julianstirling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice. Couple of teeny suggestions.

@rwb27 rwb27 force-pushed the test-against-ofm branch from 6cfc36c to 2a10623 Compare March 4, 2026 20:57
@rwb27
Copy link
Collaborator Author

rwb27 commented Mar 4, 2026

Just in the interests of setting expectations, my current thinking is that this is a useful check, but isn't something I'd hold up PRs for without good reason. @julianstirling commented along these lines in #279.

If we need OFM changes for this test to pass, that might block release but shouldn't block merging as a general rule. Of course, if a PR comes with a modified branch of the server, that's great - but we will then need to figure out a way to manage which branch we test against.

@rwb27
Copy link
Collaborator Author

rwb27 commented Mar 4, 2026

I see some warnings in the tests, but I also see them when running locally and in the CI logs on the OFM server repo as well, so I think they are nothing to worry about. The three relevant jobs should all show up, for example, here:

https://gitlab.com/openflexure/openflexure-microscope-server/-/pipelines/2364151179

Copy link
Contributor

@julianstirling julianstirling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An enthusiastic yes from me.

@rwb27 rwb27 merged commit acaa777 into main Mar 4, 2026
49 of 59 checks passed
@rwb27 rwb27 deleted the test-against-ofm branch March 4, 2026 21:54
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.

2 participants