Skip to content

TST: generate coverage report #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 6, 2025
Merged

TST: generate coverage report #22

merged 6 commits into from
Apr 6, 2025

Conversation

lucascolley
Copy link
Member

@lucascolley lucascolley commented Apr 5, 2025

On top of gh-19

image

@lucascolley
Copy link
Member Author

Looks like one macos test failure has crept in:

153/228 Test #155: mcm2 ddd->dd scipy_special_tests ...........................***Failed    0.05 sec
Filters: "mcm2 ddd->dd scipy_special_tests"
Randomness seeded to: 173487078

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scipy_special_tests_test_mcm2 is a Catch2 v3.8.0 host application.
Run with -? for options

-------------------------------------------------------------------------------
mcm2 ddd->dd scipy_special_tests
-------------------------------------------------------------------------------
/Users/runner/work/xsf/xsf/./tests/scipy_special_tests/test_mcm2.cpp:9
...............................................................................

/Users/runner/work/xsf/xsf/./tests/scipy_special_tests/test_mcm2.cpp:30: FAILED:
  REQUIRE( error0 <= tol0 )
with expansion:
  0.00003804947239331 <= 0.00002554643067939
with messages:
  m := 2.0
  q := 100.20000000000000284
  x := 0.0
  out0 := -0.00000000000027891
  desired0 := -0.00000000000027892
  error0 := 0.00003804947239331
  tol0 := 0.00002554643067939
  fallback := true

===============================================================================
test cases:    1 |    0 passed | 1 failed
assertions: 2753 | 2752 passed | 1 failed

@lucascolley lucascolley marked this pull request as ready for review April 6, 2025 10:43
@lucascolley
Copy link
Member Author

ready for review @steppi ! CI is now uploading coverage reports, see e.g. https://github.com/scipy/xsf/actions/runs/14291674941/job/40053692686?pr=22.

You can generate one locally with pixi run coverage (or however you want to split up the component tasks for parallelism configure-coverage -> build-only -> --skip-deps tests-ci -> --skip-deps coverage) then view it with pixi run open-coverage.

Copy link
Collaborator

@steppi steppi left a comment

Choose a reason for hiding this comment

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

Very cool. The failure is unrelated, so I'll go ahead and merge this.

@steppi steppi merged commit 161fe3c into scipy:main Apr 6, 2025
1 of 2 checks passed
@lucascolley lucascolley deleted the coverage branch April 6, 2025 14:50
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