Skip to content

Add tests for {modernbert,laya}.rs with insta - #12

Merged
alvarobartt merged 10 commits into
mainfrom
add-cargo-insta
Sep 24, 2026
Merged

alvarobartt merged 10 commits into
mainfrom
add-cargo-insta

Conversation

@alvarobartt

Copy link
Copy Markdown
Owner

Description

This PR adds the insta dependency for snapshot testing in order to add tests for both modernbert.rs and laya.rs to ensure that no regressions are introduced and that the outputs match across devices (when using the same precision) within a certain tolerance.

Additionally, this PR also updates the GitHub Actions to run the tests as a separate action only after the linting is passing, and only build the containers once the tests are passing (same for publishing); mostly to be mindful with the minutes used for each runner.

@alvarobartt alvarobartt changed the title Add cargo insta Add tests for {modernbert,laya}.rs with insta Sep 24, 2026
@alvarobartt
alvarobartt merged commit 591e837 into main Sep 24, 2026
14 checks passed
@alvarobartt
alvarobartt deleted the add-cargo-insta branch September 24, 2026 16:29
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.

1 participant