Skip to content

Run bxb differential comparison tests in CI #684

Done

Description

@tompollard

PR #679 adds a generated differential test, tests/test_beat_comparison.py::test_matches_wfdb_bxb, that compares 200 cases with the WFDB Software Package's bxb program. The test is skipped when bxb is absent. The current test workflow installs Python and libsndfile1, but not bxb, so CI does not run this reference comparison.

Add a dedicated Linux CI job that installs a known WFDB Software Package version (the PR was checked against 10.7.0) and runs the differential test on pull requests and main. The job should verify that bxb is available before pytest so an installation failure cannot turn the test into a passing skip. Keep the existing skip behavior for local environments without bxb.

Acceptance criteria:

  • CI executes all four seeds of test_matches_wfdb_bxb (200 generated cases total) rather than skipping them.
  • A mismatch with bxb, or an unavailable bxb binary in the dedicated job, fails CI.
  • The job uses a pinned or otherwise recorded bxb version so reference behavior is reproducible.

This is follow-up test coverage for the development feature in #679, not a reported discrepancy in its current output.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions